+ Reply to Thread
Results 1 to 5 of 5

Run Macro On Cell Change

  1. #1
    Registered User
    Join Date
    02-14-2019
    Location
    USA
    MS-Off Ver
    2016
    Posts
    5

    Run Macro On Cell Change

    I currently have the below macro set up so that i enter a cell in V2 and click a button and it jumps to that cell. How do I modify it so that it activates whenever cell V2 changes, rather than having to click the button?

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by Livewire089; 02-19-2019 at 08:13 AM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,447

    Re: Run Macro On Cell Change

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Last edited by AliGW; 02-19-2019 at 08:15 AM. Reason: Code tags added.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,447

    Re: Run Macro On Cell Change

    Thank you.

    This should do what you want based on your existing code:

    Please Login or Register  to view this content.

  4. #4
    Forum Expert nigelog's Avatar
    Join Date
    12-14-2007
    Location
    Cork, Ireland
    MS-Off Ver
    Office 365 Windows 10
    Posts
    2,286

    Re: Run Macro On Cell Change

    In the sheet module
    Please Login or Register  to view this content.

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,447

    Re: Run Macro On Cell Change

    This would be quicker:

    Please Login or Register  to view this content.

+ 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] Change On_Open macro to a cell change in a range of cells
    By davidpierce in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-27-2015, 02:46 PM
  2. Macro code to call a macro if a certain cell's value is change
    By mm671750 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-05-2014, 12:37 PM
  3. Cell change --> date change macro
    By K3mp3r in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-07-2014, 05:31 AM
  4. [SOLVED] Macro - To change cell fonts whenever their values change
    By mgs in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-22-2012, 03:14 AM
  5. [SOLVED] Worksheet change macro on a change in a specific cell
    By dzuspann in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-07-2012, 04:19 PM
  6. Replies: 11
    Last Post: 08-31-2010, 01:30 PM
  7. [SOLVED] Cell value change to trigger macro (worksheet change event?)
    By Neil Goldwasser in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-10-2006, 10:00 AM

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