"MSGBOX" has just died.

Mackeral

Board Regular
Joined
Mar 7, 2015
Messages
249
Office Version
  1. 365
Platform
  1. Windows
I was working on code to use MSGBOX for communicating with my users when I suddenly got an error message that said "Your text is too long".
Now it's just a tiny window.

I've spent a lot of time working with MSGBOX, and to have Microsoft just throw that out just feels like a gut punch. And If Microsoft had just left it alone,
it would still have worked with just a bigger window.

Mac
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Hi Mac,

Try the Windows Script Host (refer here) as it can hold much more data than a MsgBox. The syntax is different though.

Regards,

Robert
 
Upvote 0
That doesn't sound like a Microsoft error to me. Msgbox simply truncates the message if the text is too long.
 
Upvote 0
I was debugging my MsgBox code, and I got an error message that my text was too long to display.

This morning, Msgbox seems to be back working the old way now.
 
Upvote 0
No,I am wrong. THe rest of the arguments have been dropped so Msgbox doesn't work the way it did yesterday. It doesn't accept any argument but the "PRompt".
 
Upvote 0
MsgBox (like most vba) has not changed in decades.

What code are you trying to use and what is happening?
 
Upvote 0
Posting your actual VBA code would be very helpful. It is tough to comment on code if we cannot see it.
Also, are you doing this on Windows or Mac (since you have both listed)?
 
Upvote 0
A reminder:

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at:

There is no need to repeat the link(s) provided above but if you have posted the question at other places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0
Hmmm...
Not sure why you posted a new question elsewhere instead of answering our questions...
 
Upvote 0

Forum statistics

Threads
1,223,244
Messages
6,170,976
Members
452,372
Latest member
Natalie18

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top