Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Easy Easy Word VB ComboBox ?

Posted on 2000-03-21
4
Medium Priority
?
158 Views
Last Modified: 2010-05-02
This is too easy but I'm not feeling like figuring anything out for myself today.

I have a simple combo box with a list that is a 2-D Array.

Dim silly(14, 14)

silly 0,0 = "data"
silly 1,0 = "data"
                          .... etc..
silly 0,1 = "data"
silly 1,1 = "data"
                       .....etc..

Option 14,0 states "Other"
When this is selected, I'd like to pop up another form for more input.
How do I active a command when a user selects an option from a combobox?

rick
0
Comment
Question by:saksafon2
  • 3
4 Comments
 
LVL 10

Expert Comment

by:caraf_g
ID: 2640346
YourCombobox_Click procedure?
0
 
LVL 10

Accepted Solution

by:
caraf_g earned 80 total points
ID: 2640349
If YourCombobox.text = "Other" then
    'Do Something
End If

?
0
 

Author Comment

by:saksafon2
ID: 2640361
I figured it out on my own and tried to delete the question but you got to me.

At least I figured it out the same way you did.

Thanks!

rick
0
 
LVL 10

Expert Comment

by:caraf_g
ID: 2640388
I wasn't sure I had understood the question properly but I must have. Thanks for the points!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

783 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