+ Reply to Thread
Results 1 to 2 of 2

Delete Row within a Range if Column A equals criteria

  1. #1
    Registered User
    Join Date
    05-11-2013
    Location
    Portland
    MS-Off Ver
    Excel 2007
    Posts
    9

    Delete Row within a Range if Column A equals criteria

    Hello,

    I think my request is a simple one, but I just can't figure it out. I've looked at several to examples but all seem to want to delete the entire row. I just want to delete the cells in a row within a certain range. Here is my question and example.

    I have a range called "Team_Ambrosio" that goes from Column A to Column J. The height is variable but I don't think that should make a difference. I need VBA that, when executed, will delete the row of cells within "Team_Ambrosio" when Column A = "NLE". It's really that simple but I'm not sure how to write it so that it does not delete the entire row across the whole worksheet. I just want the row deleted within the range "Team_Ambrosio". I then want the cells to shift up. Any ideas? Thanks!

  2. #2
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Delete Row within a Range if Column A equals criteria

    Try:

    Please Login or Register  to view this content.
    Gary's Student

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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