Excel VBA - MsgBox to display variable value?

  • Thread starter Thread starter BruceAtkinson
  • Start date Start date
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
 
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)
 
Back
Top