Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DISPLAY CONTENTS OF A VARIABLE 1

Status
Not open for further replies.

Kevsim

Instructor
Apr 18, 2000
385
0
0
AU
I have DIMed a variable as a string. How do you display on screen, the contents of this variable? I would appreciate your advise.
 
I've found that the easiest way to display is to just bring it up in a msgbox. I think the code would look something like this:

msgbox "The variable's value is " & varname
 
mattl72, thanks for the info, the code I used is as follows and it worked OK.
Msg = MsgBox("YOU ARE ABOUT TO COPY RECORD " & Msg1, 36, "COPY - ARE YOU SURE?")
kevsim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top