MsgBox Function has 255 Character Limit (147730)



The information in this article applies to:

  • Microsoft Excel for Windows 95 7.0a
  • Microsoft Excel for Windows 5.0c
  • Microsoft Excel for Windows NT 5.0
  • Microsoft Excel for the Macintosh 5.0a

This article was previously published under Q147730

SUMMARY

In Microsoft Excel versions 5.x and 7.x, the "MsgBox Function" topic in online Help reads as follows:

The maximum length of prompt is approximately 1024 characters, depending on the width of the characters used.

This information is incorrect. The maximum number of characters that you can use in the prompt argument is 255.

Modification Type:MinorLast Reviewed:10/10/2006
Keywords:kbProgramming KB147730