Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 130
Default How much text can be put into a message box

Hello,
I'm using MsgBoxes in a program to help user's know how to operate the
spreadsheet. It seems that there is a limit to how much text I can
put into one message box. Does anyone know what that limit is, and
whether or not it can be changed?

thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,549
Default How much text can be put into a message box

Test it yourself; run this code and note that the Z appears at the end.
Run it again after increasing the number of characters from 1022 to 1023...
'--
Sub TestMsgBox()
Dim strVeryLong As String
strVeryLong = String$(1022, "+") & "Z"
MsgBox strVeryLong
End Sub
--
Jim Cone
Portland, Oregon USA



"Andrew"

wrote in message
Hello,
I'm using MsgBoxes in a program to help user's know how to operate the
spreadsheet. It seems that there is a limit to how much text I can
put into one message box. Does anyone know what that limit is, and
whether or not it can be changed?
thanks
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
message box text sako 338 Excel Worksheet Functions 2 January 18th 07 02:25 AM
Flashing Text or message Tom Ogilvy Excel Programming 0 April 13th 05 01:13 PM
Flashing Text or message JulieD Excel Programming 0 April 13th 05 01:08 PM
Centering the text in a message box Rob_T Excel Programming 2 October 10th 04 01:12 AM
Centering the text in a message box Rob_T Excel Programming 4 October 8th 04 10:02 AM


All times are GMT +1. The time now is 08:29 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"