+ Reply to Thread
Results 1 to 4 of 4

Execute Worksheet change event only within specific range

  1. #1
    Forum Contributor ABSTRAKTUS's Avatar
    Join Date
    04-18-2010
    Location
    England
    MS-Off Ver
    Win10 Excel 2016
    Posts
    609

    Execute Worksheet change event only within specific range

    Hi all,

    This should be a pretty easy, though cannot find a solution online. How do I make the below code execute when the active cell is within a specified range, let's say X1:Z10 and does nothing if active cell is outside this range?

    Please Login or Register  to view this content.
    Thanks!

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

    Re: Execute Worksheet change event only within specific range

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor ABSTRAKTUS's Avatar
    Join Date
    04-18-2010
    Location
    England
    MS-Off Ver
    Win10 Excel 2016
    Posts
    609

    Re: Execute Worksheet change event only within specific range

    Oh damn, I saw it a million times online, didn't realise it does what I want it to. Thanks nigelog!

  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: Execute Worksheet change event only within specific range

    Lol, glad to help. Many thanks for the rep points and marking as solved

+ 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. How to get Combobox change event to execute
    By kaseyleigh in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-03-2015, 05:58 AM
  2. Alter Worksheet Change Event at specific time after the data is manually changed..
    By e4excel in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-22-2014, 05:12 PM
  3. Worksheet_Change Event does not execute upon change of cell
    By KarlaM in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-11-2013, 07:04 PM
  4. [SOLVED] Change Event - Set specific range for target question
    By questionguy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-29-2012, 06:00 PM
  5. Replies: 6
    Last Post: 08-10-2011, 07:19 AM
  6. Worksheet Change Event-change the range in my VBA
    By systemx in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-27-2006, 05:00 AM
  7. [SOLVED] change event on specific cell rather than worksheet
    By frendabrenda1 in forum Excel General
    Replies: 3
    Last Post: 09-20-2005, 10:05 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