Results 1 to 11 of 11

Combo box selection to call macro

Threaded View

  1. #4
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Combo box selection to call macro

    click on developer
    click on design mode
    right click on listbox
    select view code

    paste this code

    Private Sub Orders_Change()
    
    If Range("E2").Value <> "Dehorn goat" Then Exit Sub
    Call SortGoat
    End Sub
    close widow
    exit design mode
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Want to call Macro when cell changes as a result of Combo Box Choice
    By CRIMEDOG in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-15-2012, 09:26 PM
  2. Run a macro based on a Combo Box Selection
    By DBHaley in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-27-2011, 03:32 AM
  3. Combo Box Change Event with Macro Call
    By Bosco6 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-21-2011, 02:40 PM
  4. [SOLVED] macro to blank combo box selection
    By elevdown in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-04-2008, 06:58 AM
  5. call macro from combo box
    By minkus in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-21-2007, 12:14 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1