ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Is it possible to format the text in a message box (https://www.excelbanter.com/excel-programming/423360-possible-format-text-message-box.html)

Nigel

Is it possible to format the text in a message box
 
I would like to format some text in a message box and was wondering if that
would be possible

ie:

msgbox "Please select Country to view",vbokonly,"Test Message"

make the word country bold

thanks

JLGWhiz

Is it possible to format the text in a message box
 
It is not a normal facility of Excel or VBA to format message box text. If
it is done, it has to be done through the Windows platform and that means all
message boxes in all files will have that format. I would suggest using a
lable on a UserForm to do what you want.

"Nigel" wrote:

I would like to format some text in a message box and was wondering if that
would be possible

ie:

msgbox "Please select Country to view",vbokonly,"Test Message"

make the word country bold

thanks



All times are GMT +1. The time now is 05:33 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com