+ Reply to Thread
Results 1 to 4 of 4

Select Case code not executing macro on Dropdown (change)

  1. #1
    Forum Contributor
    Join Date
    04-14-2008
    Location
    Fort Collins, Co
    MS-Off Ver
    2016
    Posts
    107

    Select Case code not executing macro on Dropdown (change)

    Please see workbook. The module 'Navigation' has macros that simply go to a sheet when the drop down is changed to a certain word. The first subroutine is for the drop down on the 'Navigation' worksheet. I am trying to call the navigation macros when the drop down changes.

    I think I have the code right... But maybe it's not in the right place or something? Can someone take a look and help out?

    Thanks!
    -Heather

    Excel 2007 or 2010 workbook
    Attached Files Attached Files
    Last edited by 4am; 12-10-2010 at 02:33 PM. Reason: Moved to programming forum.
    Is That Your Spreadsheet Or Did Your Database Just Throw Up?


  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Select Case code not executing macro on Dropdown (change)

    Hi 4am

    I've never used Dropdowns but apparently they use Index Numbers. Try modifying your code similar to this
    Please Login or Register  to view this content.
    See if it works.

    John
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Forum Contributor
    Join Date
    04-14-2008
    Location
    Fort Collins, Co
    MS-Off Ver
    2016
    Posts
    107

    Re: Select Case code not executing macro on Dropdown (change)

    I'm checking it out now. I guess I need to learn more about Index numbers.

  4. #4
    Forum Contributor
    Join Date
    04-14-2008
    Location
    Fort Collins, Co
    MS-Off Ver
    2016
    Posts
    107

    Re: Select Case code not executing macro on Dropdown (change)

    Thank you John! Very helpful. It works just the way I wanted and is even easier to write the code. +Rep!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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