+ Reply to Thread
Results 1 to 3 of 3

Delete rows that contain any value in Column C

  1. #1
    Registered User
    Join Date
    10-24-2011
    Location
    Orlando, FL
    MS-Off Ver
    Office 365 for Business
    Posts
    79

    Delete rows that contain any value in Column C

    I am trying to delete rows via VBA that contain a value in Column C. In other words, I only want rows remaining (not hidden) that have a blank in column C of that row.

    I have the below code that does the opposite (removes rows that have blank or null in column 12. I can't figure out how to "flip" it.

    Please Login or Register  to view this content.
    Thank you!!

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Delete rows that contain any value in Column C

    This Deletes row with blanks in column C

    Please Login or Register  to view this content.

    This delete rows with values

    Please Login or Register  to view this content.
    Last edited by mehmetcik; 08-15-2018 at 05:38 PM.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    10-24-2011
    Location
    Orlando, FL
    MS-Off Ver
    Office 365 for Business
    Posts
    79

    Re: Delete rows that contain any value in Column C

    Great! It worked! Thank you so much.

+ 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. Check column for empty rows, delete rows shift cells up?
    By B.W.B. in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-06-2017, 12:41 PM
  2. VBA to delete rows starting from row 18 and delete data in one column from row 17
    By tantcu in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-05-2017, 04:54 PM
  3. Replies: 2
    Last Post: 02-29-2016, 03:05 PM
  4. Macro to keep rows that have certain text in one column, delete rows that do not.
    By mandalope in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-24-2014, 02:35 PM
  5. Replies: 5
    Last Post: 11-12-2012, 08:38 PM
  6. Macro to delete certain columns and delete rows based on time in another column
    By beepbeep27 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-12-2012, 11:47 AM
  7. Sort Column, Delete Rows, Delete Column, Move Molumn, more inside?
    By motown in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-13-2008, 09:44 AM

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