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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

newbie question

Status
Not open for further replies.

orisons

Programmer
Feb 18, 2002
49
CA
how can I use a certain string in various forms, I would like to set up a string so that various forms can use the same string (but like a variable is changeable)
 
Add a module and write:

Public VarNAme As String

or just write this line in e.g form1. To access it from form2:

form1.VarName = "blabla" ' or get value: x = form1.VarName
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top