+ Reply to Thread
Results 1 to 4 of 4

Find Cell Delete All Rows Below

  1. #1
    Registered User
    Join Date
    06-08-2009
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2003
    Posts
    68

    Find Cell Delete All Rows Below

    Hi,

    I would like to be able to find the cell in column A with the name of "Grand", and take that row and all the rows below that and delete the contents... Since everday though the number of rows will be different I can't just record this... here is an example spreadsheet...
    Attached Files Attached Files

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Find Cell Delete All Rows Below

    Hello Tyler_Durdan,

    I have attached the following macro to a button on "Sheet1" to run the macro. The attached file has all the changes made to it.
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    06-08-2009
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2003
    Posts
    68

    Re: Find Cell Delete All Rows Below

    Wow thats great, works perfect...

    Question, what is the "*" syntax?

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Find Cell Delete All Rows Below

    Hello Tyler_Durdan,

    The asterisk is a wildcard character. It tells the Find method to search for any character in the range.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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