+ Reply to Thread
Results 1 to 3 of 3

Worksheet Change Target??

  1. #1
    Forum Contributor spinkung's Avatar
    Join Date
    10-27-2006
    Posts
    199

    Worksheet Change Target??

    Hi all,

    i am trying to make use of the target in worksheet change event but only when a single cell is change.

    problem is that even when the cell is changed it's not going through my if statement.

    here's what i have...
    Please Login or Register  to view this content.
    ...but even when the cell B2 is changed it doesn't trigger the message box.

    Also, ideally i'd like to change B2 to a named range but i couldn't figure it out?? can anyone help.

    thanks

  2. #2
    Valued Forum Contributor Richard Schollar's Avatar
    Join Date
    05-23-2006
    Location
    Hampshire UK
    MS-Off Ver
    Excel 2002
    Posts
    1,264

    Re: Worksheet Change Target??

    Hi

    You're not comparing the Address to "$B$2" - you're comparing it to the value in B2. So instead you need to write it like:

    Please Login or Register  to view this content.
    Richard
    Richard Schollar
    Microsoft MVP - Excel

  3. #3
    Forum Contributor spinkung's Avatar
    Join Date
    10-27-2006
    Posts
    199

    Re: Worksheet Change Target??

    worked a treat, thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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