Consulting

Results 1 to 5 of 5

Thread: MessageBox line length

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    VBAX Contributor
    Joined
    Jul 2017
    Location
    Zurich
    Posts
    132
    Location

    MessageBox line length

    Hi Folks

    Since there is no option to format message boxes, I was wondering if there if a way to find the maximum number of characters before Excel does a line break in a messagebox. Apparently that number varies depending on the excel version and/or screen resolution, but I'm not sure about that. I can only tell that the number of characters for a single line varies depending on the screen and/or office version. For example, oddly enough, the standard company screen (i.e. around 19", Win8, Excel 2013) shows less line breaks than my personal PC (Win10, Excel 2016, and high resolution) for the same message.

    The reason for that is that I'd like to set the length of a splitter line (consisting of underscores) in order to make a larger, multi-line message more readable.

    Any ideas?
    Last edited by nikki333; 03-08-2019 at 11:42 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •