+ Reply to Thread
Results 1 to 5 of 5

Beating a message box character limit

  1. #1
    Forum Contributor
    Join Date
    09-03-2008
    Location
    Somerset, England
    MS-Off Ver
    XP, 2003, 2007 - depends on location
    Posts
    185

    Beating a message box character limit

    Hey all,

    At the end of a procedure I am trying the produce a Message Box that displays any relevant information. This information is basically a string created by adding various elements from an Array -

    Please Login or Register  to view this content.
    This seems to work but sometimes the output off the String in the Message box is truncated, so I'm guessing there is a character limit (1024 from the looks of it). Basically, I'm wondering if there is either a way of extending the character limit (if the string length is over 1024) or if there is a better method of outputting the data in the Array 'ErrorLog'?

    Thanks.
    Ducks are better crispy...

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,419

    Re: Beating a message box character limit

    You will have to create your own message box using a userform and either a textbox or listbox.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Forum Contributor
    Join Date
    09-03-2008
    Location
    Somerset, England
    MS-Off Ver
    XP, 2003, 2007 - depends on location
    Posts
    185

    Re: Beating a message box character limit

    Poo, was hoping I wouldn't have to go down that route!

    Thanks.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Beating a message box character limit

    I did this a few years ago -- perhaps you can adapt.
    Please Login or Register  to view this content.
    Last edited by shg; 10-06-2009 at 11:36 AM. Reason: revisited
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Forum Contributor
    Join Date
    09-03-2008
    Location
    Somerset, England
    MS-Off Ver
    XP, 2003, 2007 - depends on location
    Posts
    185

    Re: Beating a message box character limit

    Thanks, I'll have a play with it and see if I can get to grips with it. I did find something similar earlier, but this looks far simpler and seems to do exactly the same.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1