+ Reply to Thread
Results 1 to 3 of 3

Triggering Macros from Validation List

  1. #1
    Registered User
    Join Date
    11-06-2010
    Location
    Ontario
    MS-Off Ver
    Excel 2003
    Posts
    1

    Triggering Macros from Validation List

    I'm trying to trigger one of three Macros based on the value of the dropdown selected from a validation list. But the Macros are not firing on using the Worksheet_Change event (which I have coded into the Worksheet module it is to be active in). Folloing is the code I'm writing...where am I going wrong? B10 is the cell that has the Validation list

    Please Login or Register  to view this content.

  2. #2
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: Triggering Macros from Validation List

    I've had the same problem. My workaround is to put a formula that refers to the validated cells (like =COUNTA(1:65536)) in an inconspicous cell and use the Calculate event.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Triggering Macros from Validation List

    The below works for me. Have you tried to make the Target.Value = string?

    Please Login or Register  to view this content.
    Try also
    Please Login or Register  to view this content.
    Last edited by MarvinP; 11-06-2010 at 10:19 PM. Reason: New Idea
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

+ 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