Results 1 to 2 of 2

Clear cell contents based on offset of dropdown selection on another tab.

Threaded View

  1. #1
    Registered User
    Join Date
    11-10-2011
    Location
    Bakersfield, California
    MS-Off Ver
    Excel 2007
    Posts
    27

    Clear cell contents based on offset of dropdown selection on another tab.

    Ive got this code, which moves the offset of a selection from a cells drop downlist to another tab:

    Private Sub Worksheet_Change(ByVal Target As Range)
    
    
    If Target.Value Like "Moved to last planner" Then
    
    Sheets("Last Planner").Range("A:A").Find("").End(xlUp).Offset(1, 0) = Target.Offset(0, 2 - Target.Column()).Value
    Else
    If Target.Value <> "Moved to last planner" Then
    End If
    End If
    End Sub
    But I can't figure out how to do the opposite - CLEAR the cell on the Last Planner tab if it matches the offset value of the selected cells dropdown list. Instead of "Moved to last planner" the cell choice that would activate the removal would be "Not Implemented". Somehow I need to compare the offset value from one tab to the range of values in a column in another tab - if it finds it, it clears it.
    Last edited by Drivium; 03-22-2013 at 04:42 PM.

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