Computing.Net > Forums > Programming > VBA List Box or radio buttons

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

VBA List Box or radio buttons

Reply to Message Icon

Name: petersen313
Date: August 22, 2008 at 10:59:08 Pacific
OS: Windows XP
CPU/Ram: Pentium Dual Core
Product: Intel
Comment:

I have an excel program that tracks job progress for a cabinet shop, and I need to figure out a way to create a user input box with a list of selections that then passes the users selection to a variable. It would be similar to:

Job_Status = InputBox(Prompt:="Please Enter Current Job Status.", Title:="Job Status", Default:="")

Except that instead of an open field that the user can type into, it needs to be a list of 8 potential options and the user can only select one of the options:

I tried this:

ListBox1.List = Array("Option 1", "Option 2", "Option 3", "Option 4", "Option 5", "Option 6", "Option 7", "Option 8")

But it doesn't work.

It would also work fine to have eight radio buttons that they need to select from if that were possible.

Any ideas?



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: VBA List Box or radio buttons

Assigning values to radio buttons? www.computing.net/answers/programming/assigning-values-to-radio-buttons/14344.html

Tab order of radio buttons .Net 1.1 www.computing.net/answers/programming/tab-order-of-radio-buttons-net-11/17991.html

VB 6.0 - List Box www.computing.net/answers/programming/vb-60-list-box/10590.html