+ Reply to Thread
Results 1 to 3 of 3

Trigger an event when any cell in a column is changed

  1. #1
    Forum Contributor
    Join Date
    07-27-2012
    Location
    Somerset, Kentucky
    MS-Off Ver
    Excel 2007
    Posts
    123

    Trigger an event when any cell in a column is changed

    What is the code to trigger a macro when any cell in column A of Sheet 1 is changed. My code fires the macro when the cell is entered. I only need it to fire when the cell is changed. Thanks.

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Trigger an event when any cell in a column is changed

    You can use a change event, rather than a selection change
    Please Login or Register  to view this content.
    Although it doesn't work if the cells contain formulae.

  3. #3
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: Trigger an event when any cell in a column is changed

    if you mean, you want to isolate where the value changes (i.e. from A to B) then something like...

    however, the more I think about it the less that would make sense... ;-)

    Please Login or Register  to view this content.
    Last edited by XLent; 07-23-2020 at 10:08 AM.

+ 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] Trigger change event BEFORE cell edit
    By Fattyfatfat Kid in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 09-09-2021, 04:51 AM
  2. [SOLVED] Dont trigger code if -1 column of target column has already value Worksheet change event
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-05-2017, 08:41 AM
  3. Replies: 8
    Last Post: 08-06-2014, 04:41 AM
  4. Automatically Trigger Event when Cell Changes
    By Thinkslow in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-01-2013, 03:34 AM
  5. click into a cell to trigger an event
    By DDR2 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-01-2008, 09:48 AM
  6. [SOLVED] Event to trigger when a cell is moved
    By Marek in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-10-2006, 01:10 PM
  7. Replies: 2
    Last Post: 04-17-2006, 06:15 PM

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