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

variable naming

Status
Not open for further replies.

Luis939

MIS
Feb 28, 2003
453
US
hey,
i basically would like to know if there is any mechanism i can use to create variables automatically,
so if i have
myvariable1 = somevalue

it would be really beneficial if i can loop back to it and change the name of that variable to something like myvariable2 so that I can keep them separate,

thanks!!!
 
If you were writing in assembler code you could, but not in VBA.

The closest that you might come is using an array with REDIM Preserve or creating or adding to a collection.

:)

Skip,
Skip@TheOfficeExperts.com
 
Is it possible to have an array whos elements are all collections? and if so what would be the syntax? thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top