Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Setting up a table in a VBS

Status
Not open for further replies.

connormac

Industrial
Mar 6, 2006
1
I have a VBS that I use to create folders for each part I program. I have 10 customers that I use alot then there are others. I would like to create a table or list or something so I wouldn't have to type in the name every time.
here is what I use.

Dim companyname
Dim Program

Do 'ask until a real company name is entered
companyname=Trim(AskString("Company Name?"))
Loop While companyname="Company Name?" Or companyname="((ESC))" Or companyname=""


when it asks for name I would like to put in 1 or 2 or 3 and hte right customer be put in there. or if I pick other I would then type in new customer's name.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor