×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Forms ComboBox - retrieving data

Forms ComboBox - retrieving data

Forms ComboBox - retrieving data

(OP)
I am fairly new to this, so please excuse me if this is a stupid question!

I am using comboboxes which were inserted from the forms menu (instead of the controls menu). I am trying to make it so when a certain item from the dropdown is selected, it selects a different sheet.

I have got this to work using a combobox from the controls toolbar, but when my form is run from Excel X Mac, it does not recognise the combobox. (I guess this is because activeX is not supported in the Mac version)

My forms comboboxes are recognised, but I can't get the code to work with them.



The code I use for the NON-Mac version is:

Sub Auto_open()

Sheets("AM Checklist").ComboBox1.AddItem "Select"
Sheets("AM Checklist").ComboBox1.AddItem "Yes"
Sheets("AM Checklist").ComboBox1.AddItem "No"
    
End Sub

Private Sub ComboBox1_Change()
  
    If ComboBox1.Value = "No" Then
    Sheets("Fail").Select
    End If
        
End Sub


Any help would make me a very happy person!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources