+ Reply to Thread
Results 1 to 4 of 4

Clear Contents in One Cell based on another value

  1. #1
    Registered User
    Join Date
    08-19-2013
    Location
    New York, NY
    MS-Off Ver
    Excel 2003
    Posts
    77

    Clear Contents in One Cell based on another value

    Should be a simple macro but I'm having a problem getting it to work. The macro should be looking In column N for a Yes or a blank cell. If the cell in N = Yes then the contents on the same Row in Column J should be cleared and then move onto the next available cell Based on if Column I is empty or not. Column I is another value but should always be filled out so I'm using that as an indication on when the loop should stop.

    Please Login or Register  to view this content.

  2. #2
    Forum Contributor
    Join Date
    05-29-2013
    Location
    MD
    MS-Off Ver
    Excel 365
    Posts
    148

    Re: Clear Contents in One Cell based on another value

    Hi,

    You probably need to specify ActiveSheet.Columns("N"), and ActiveSheet.Cells(cell.Row, "J")

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    08-19-2013
    Location
    New York, NY
    MS-Off Ver
    Excel 2003
    Posts
    77

    Re: Clear Contents in One Cell based on another value

    Thanks. It worked.

  4. #4
    Registered User
    Join Date
    01-21-2014
    Location
    bangalore
    MS-Off Ver
    excel 2010
    Posts
    1

    Re: Clear Contents in One Cell based on another value

    Thanks A Lot

+ 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. [SOLVED] Clear contents based on contents of another cell
    By Katrina DTE in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-13-2013, 02:44 PM
  2. [SOLVED] Clear Cell Contents Based On Criteria
    By xybadog in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-03-2012, 11:47 AM
  3. Clear contents based on value in another cell
    By RochesterColonial in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-01-2010, 12:01 PM
  4. clear cell contents based on conditions
    By darkhorse4321 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 11-18-2010, 10:59 PM
  5. Clear cell contents based on defined name
    By SMB in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-14-2010, 12:48 PM

Tags for this Thread

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