Results 1 to 2 of 2

Thread: Msgbox size

  1. #1
    Gold Lounger
    Join Date
    Dec 2000
    Location
    Hollywood (sorta), California, USA
    Posts
    2,759
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Msgbox size

    What determines how large a msgbox will be when displayed? I don't want the msgbox text lines to wrap. I want the box to grow to fit each line w/o wrapping. I know that by changing the screen resolution, the wrapping will go away. But is there a way to force Word 97 VBA to "grow" the window?
    Kevin <IMG SRC=http://www.wopr.com/w3tuserpics/Kevin_sig.gif alt="Keep the change, ya filthy animal...">
    <img src=/w3timages/blackline.gif width=33% height=2><img src=/w3timages/redline.gif width=33% height=2><img src=/w3timages/blackline.gif width=33% height=2>

  2. #2
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Msgbox size

    Not that I know of. You could concatenate a vbCrLf into the string where you want it to break in order to force it to behave better. Or you could create your own custom dialogs using a form.
    Charlotte

Posting Permissions

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