ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Excel VBA - MsgBox to display variable value? (https://www.excelbanter.com/excel-programming/300474-excel-vba-msgbox-display-variable-value.html)

BruceAtkinson[_5_]

Excel VBA - MsgBox to display variable value?
 
Mr. Walkenbach's books state that he uses msgbox to display the value o
variables; but, he doesn't give any examples. Can anyone give me
quick procedure that displays a msgbox with the value of a variable?
Thanks,
Bruc

--
Message posted from http://www.ExcelForum.com


pikus

Excel VBA - MsgBox to display variable value?
 
MsgBox var

--
Message posted from http://www.ExcelForum.com


Bob Phillips[_6_]

Excel VBA - MsgBox to display variable value?
 
MsgBox "Var1: value is " & Var1 & vbcrlf & _
"Var2: value is " & Var2, vbInformation

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"BruceAtkinson " wrote in
message ...
Mr. Walkenbach's books state that he uses msgbox to display the value of
variables; but, he doesn't give any examples. Can anyone give me a
quick procedure that displays a msgbox with the value of a variable?
Thanks,
Bruce


---
Message posted from http://www.ExcelForum.com/





All times are GMT +1. The time now is 06:57 AM.

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