How to Enter a Second Line in a Message Box (124213)
The information in this article applies to:
- Microsoft Excel 97 for Windows
- Microsoft Excel for Windows 95
- Microsoft Excel for Windows 5.0
This article was previously published under Q124213 SUMMARY
In a Microsoft Visual Basic for Applications macro (Sub procedure), to
display more than one line of text in a message box, use the line feed
character (character code 13) as in the following sample code.
REFERENCES
For additional information about getting help with Visual Basic for
Applications, please see the following article in the Microsoft Knowledge
Base:
163435 VBA: Programming Resources for Visual Basic for Applications
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdtacode kbhowto kbProgramming KB124213 |
---|
|