[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Script selection list (VBA/VBS rather than VB)

Posted on 2004-04-14
4
Medium Priority
?
452 Views
Last Modified: 2012-06-27
I have some users that just can't seem to learn how to type. Typing in a value without a typo just isn't possible.

I need to be able to present them with a selection list (like in HTML? <SELECT / <OPTION and all that?) but I need to do it from a batch script. I can re-write in vbs or js or cscript or wscript or whatever. I do not have Visual Basic. This question is really about VBA/VBS rather than VB, but there doesn't seem to be a better place to post it.

I just can't believe that with all the neat things you can do in a script on an NT system, you can't find a way to pop up a list of options and let them click or arrow up and down to their selection.
0
Comment
Question by:JamesNewton
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 76

Expert Comment

by:GrahamSkan
ID: 10830418
In VBA you can put a ListBox on a Form:

Private Sub UserForm_Initialize()
    ListBox1.AddItem "Choice 1"
    ListBox1.AddItem "Choice 2"
End Sub

Private Sub CommandButton1_Click()
    MsgBox ListBox1.Text
End Sub
0
 
LVL 2

Author Comment

by:JamesNewton
ID: 11122040
http://wizapp.sourceforge.net/ Does EXACTLY what I wanted. Refund points please?
0
 
LVL 5

Accepted Solution

by:
Netminder earned 0 total points
ID: 11441013
PAQed, with points refunded (500)

Netminder
Site Admin
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question