+ Reply to Thread
Results 1 to 4 of 4

Worksheet Selection Change not working

  1. #1
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365
    Posts
    1,394

    Worksheet Selection Change not working

    Can't see why following Code isn't firing when a relevant cell in Col C is selected.

    I've ensured the "Immediate" window shows Application.EnableEvents = True

    Clicking a green cell should cut the relevant name in Col A, paste it to the next free row in Sheet 5, then move the cells up to "close the gap"

    Please Login or Register  to view this content.
    Any suggestions, pointers or solutions welcome as ever.

    Ochimus
    Attached Files Attached Files
    Last edited by Ochimus; 05-21-2018 at 08:36 AM.

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,613

    Re: Worksheet Selection Change not working

    The key problem was with
    Please Login or Register  to view this content.
    You used it twice, while column A is empty. so first you moived empty cell to second sheet, and then deleted this empty cell and moved the rest of empty column up. Not easy to notice :-)

    Try this way:
    Please Login or Register  to view this content.
    Best Regards,

    Kaper

  3. #3
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365
    Posts
    1,394

    Re: Worksheet Selection Change not working

    Kaper,

    Please accept my sincere apology for not thanking you for the solution before now. Convinced I had done, but obviously not.

    Calling the wrong column was a "newbie" error, and can't see how I came to miss it!

    Will now mark this as "Solved"

    Thanks again

    Ochimus

  4. #4
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,613

    Re: Worksheet Selection Change not working

    There is Polish proverb: Najciemniej jest pod latarnią (direct translation: It's darkest just below streetlight, so: we tend to not spot things which are in plain view, we focus on looking in dark/hiddem spots :-) ).
    And I shall confess, it's quite common situation I face in programming myself.

    As for debugging tips, see http://www.cpearson.com/excel/DebuggingVBA.aspx

    PS. Thanks for marking thread 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. Worksheet Selection change
    By c.davidson in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-12-2017, 07:30 AM
  2. [SOLVED] Selection Change working after second click on the cell. How to fix?
    By 80Wil in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-24-2017, 03:31 PM
  3. Worksheet selection event not working
    By edmen456 in forum Excel General
    Replies: 1
    Last Post: 04-04-2016, 08:55 AM
  4. [SOLVED] Worksheet Selection change for many cells
    By Jamesera27 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-02-2015, 06:42 PM
  5. [SOLVED] Need to have 2 worksheet selection.change rules in 1 worksheet
    By winwall in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-14-2014, 04:46 PM
  6. [SOLVED] WorkSheet Selection Change and Vlookup
    By coreytroy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-29-2013, 09:55 PM
  7. Worksheet selection change
    By sigfreid in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-22-2011, 06:16 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