+ Reply to Thread
Results 1 to 6 of 6

worksheet change event

  1. #1
    Registered User
    Join Date
    11-06-2007
    Posts
    48

    worksheet change event

    if either one of the cells listed as target change i want the subsequent action to follow. This seems only to work for the 1st if statement. how does one ensure the second stmnt gest evaluated as well. Thanks


    Please Login or Register  to view this content.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    If it's either value you want both blocks of code to execute?

  3. #3
    Registered User
    Join Date
    11-06-2007
    Posts
    48
    If i change it to two different blocks, it is still just the first one that gets evaluated. How do one get the 2nd block to be evaluated as well. Thanks


    Please Login or Register  to view this content.

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Maybe select case

    Please Login or Register  to view this content.
    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  5. #5
    Registered User
    Join Date
    11-06-2007
    Posts
    48
    Thank you that worked wonderfully.

    Is it possible to create a named range to include more cells to be eavluated in the same or different manner.

    Thanks in advance

  6. #6
    Registered User
    Join Date
    11-06-2007
    Posts
    48
    I figured it out. Thanks a lot for showing the way!!!

+ 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