+ Reply to Thread
Results 1 to 2 of 2

Delete row if a specific value exist

  1. #1
    Registered User
    Join Date
    09-17-2009
    Location
    san antonio, tx
    MS-Off Ver
    Excel 2003
    Posts
    4

    Delete row if a specific value exist

    Hey everyone,

    I borrowed this code from Ron de Bruin's site HERE and I need to modify this a bit. The part that is giving me trouble is this part:

    Please Login or Register  to view this content.
    I would like to make this point to a specific cell, B1 because it'll be variable. The change is probably extremely simple but I can't get it.

    Here is the full code that I borrowed. Thanks for your help again.

    Please Login or Register  to view this content.

  2. #2
    Registered User
    Join Date
    09-17-2009
    Location
    san antonio, tx
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Delete row if a specific value exist

    nevermind. I think i got it!

    If .Value <> Range("B$1") Then

    is the answer........

+ 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] Macro to delete worksheet/tab if specific text doesn't exist
    By arpanpanchal in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-06-2016, 01:00 AM
  2. Have to delete entire column if specific work exist in row
    By rizva9 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-27-2015, 12:06 PM
  3. [SOLVED] If shapes exist then delete
    By wrightyrx7 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-27-2014, 07:21 AM
  4. VBA to delete a row if NOT exist...
    By Ironman in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-07-2010, 11:54 AM
  5. VBA to delete row if specific value exist in row above
    By Borg in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-03-2010, 05:49 PM
  6. Delete row if value does not exist
    By Armitage2k in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-19-2010, 03:19 AM
  7. [SOLVED] Delete row if no date exist
    By THE_RAMONES in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-29-2006, 10:30 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