Excel VBA - MsgBox to display variable value?

B

BruceAtkinson

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
 
B

Bob Phillips

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top