+ Reply to Thread
Results 1 to 6 of 6

Clear data from column c4:53 if not found at other sheet

  1. #1
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,080

    Clear data from column c4:53 if not found at other sheet

    hi,
    i have data in sheet("to.) range("b4:b53)
    in above i want to clear (not delete) data which are not matched form sheet("entry") range b10:b300

    thanx
    Last edited by HaroonSid; 12-14-2016 at 09:01 AM.
    Use Code-Tags for showing your code :
    Please mark your question Solved if there has been offered a solution that works fine for you
    If You like solutions provided by anyone, feel free to add reputation using STAR *

  2. #2
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Clear data from column c4:53 if not found at other sheet

    Hi HaroonSid,

    I noticed your question seems to be going unanswered. Some suggestions you may find useful:
    1. Our fellow Members are looking to "help" more often than they are looking to "create a Workbook to suit your needs".
    2. Jump into this project yourself, when you get stuck on ONE specific hurdle, post that ONE item as a forum question.
    3. Show us what you've tried in an attached sample workbook and how it's not working for you. When you're doing the work yourself, just writing out a complete example question in a forum often points you to solution before you even finish posting.
    4. If you can't make any headway at all and no help is forthcoming in the free forum(s), we do have a Commercial Services forum where you can pay for assistance directly from our EF gurus."

    Regards.
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  3. #3
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,080

    Re: Clear data from column sheet("to,) range b4:b53 if not found at other sheet

    Ok
    will remain in future

    workbook added
    Attached Files Attached Files
    Last edited by HaroonSid; 12-14-2016 at 09:58 AM.

  4. #4
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Clear data from column c4:53 if not found at other sheet

    Hello HaroonSid,

    I am not sure if you want to retain the empty cells when matching is false. I have decided to rather move the remaining data up, so as not to have empty cells in your index of matching names.

    The Code in a Standard Module:

    Please Login or Register  to view this content.
    The Workbook to show the working of the Code, is attached below for your consideration.

    Regards.
    Attached Files Attached Files

  5. #5
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,080

    Re: Clear data from column c4:53 if not found at other sheet

    Works perfect as i wanted

    thanx a lot

    Winon
    Forum Guru

  6. #6
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Clear data from column c4:53 if not found at other sheet

    Hi HaroonSid,

    You are welcome, glad I could help.

    Regards.

+ 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] Populate User-form with found data from a sheet
    By u3rick in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-29-2015, 10:04 AM
  2. Replies: 2
    Last Post: 06-07-2013, 09:08 AM
  3. Delete rows or Clear contents below a specific word is found in Column A
    By kishoremcp in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-17-2012, 04:08 PM
  4. Altering Macro to clear specific cells in Data Entry Form
    By Hannah D in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-04-2012, 09:55 PM
  5. Help with vba to clear a range when duplicate entry found in a particular column
    By lilsnoop in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-22-2012, 04:34 PM
  6. user box options if cell entry is a duplicate found in a table column
    By humboldtguy in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-24-2009, 02:04 PM
  7. Clear row when duplicate found 1st column
    By ITNewOne in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-16-2008, 06:41 PM

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