+ Reply to Thread
Results 1 to 4 of 4

Auto-Run Macro when Cell Value Changes

  1. #1
    Registered User
    Join Date
    10-12-2010
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    17

    Auto-Run Macro when Cell Value Changes

    Dear all, I understand this subject has been mentioned many times across the forums and I've tried searching for a solution that could work but perhaps I am missing something in the codes that I've put up.

    What I am trying to do is to run a particular case of macro when a certain value is entered into a cell.

    E.g. When Cell A1 shows 1 , auto run MacroDate_1
    When Cell A2 shows 2 , auto run MacroDate_2

    and this pretty much goes on until 31. Below are the codes that I've found and modified so far. I've attached it to the 'Sheets' but nothing happens. Apologies as I am not able to send a spreadsheet on this.

    Thanks in advance for taking a look at this.

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Auto-Run Macro when Cell Value Changes

    Maybe: (per your e.g.)

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    10-12-2010
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Auto-Run Macro when Cell Value Changes

    Hi John,

    Thanks for the reply ! Also realized why it was working was because the cell i was referring to is a formula and not actual values. Nevertheless thanks for the reply ! I went along this route instead

    Please Login or Register  to view this content.

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Auto-Run Macro when Cell Value Changes

    You're welcome. Glad you got a solution.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Macro to auto select adjacent cell then cell underneath
    By strud in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-21-2013, 05:48 AM
  2. Auto run a macro when cell value changes
    By Tanya0806 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-30-2013, 02:15 PM
  3. Replies: 0
    Last Post: 01-29-2013, 04:59 PM
  4. Replies: 2
    Last Post: 06-03-2012, 03:33 PM
  5. Macro to auto populate the destination cell based on the values of the previous cell
    By Avinash Kumar in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-05-2009, 02:06 AM

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