+ Reply to Thread
Results 1 to 3 of 3

Clear cells depending on data validation list output

  1. #1
    Registered User
    Join Date
    08-06-2008
    Location
    UK
    Posts
    2

    Clear cells depending on data validation list output

    Hi all,

    Hoping your combined geniusnesseses will be able to help me out with this - have had a good trawl through the forum and not found an answer which is enough to help me get this done.

    So,

    I have a workbook with data in (rows of people with details). I have a column (f) related to activity status - if a person leaves, the user can select active or vacant (using a validation lookup list). What i would like to do is clear the cells in column G, H and L for just that relevant row.

    Any thoughts would be extremely gratefully received.

    Many thanks,

    Fergcu

  2. #2
    Forum Contributor
    Join Date
    04-21-2007
    Location
    Lima, Peru
    MS-Off Ver
    2000, 2007, 2010
    Posts
    674

    Clearing cells on active row

    Hi

    The code below will clear the cells in G, H & L on the active row if the value of F is "Vacant".

    Please Login or Register  to view this content.
    The code needs to be placed in the sheet module in order to function (select the sheet tab, right click and click on view code).

    Regards

    Jeff

  3. #3
    Registered User
    Join Date
    08-06-2008
    Location
    UK
    Posts
    2
    Jeff,

    absolutely fantastic, thank you - i had tried using the intersect method, but was obviously using it incorrectly, as i could only get it to work on one specific row.

    Many thanks for this!

    Kind regards,

    fergcu

+ 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