Results 1 to 10 of 10

VBA Macro needed to delete X amount of rows below the Nth row

Threaded View

  1. #1
    Registered User
    Join Date
    10-28-2012
    Location
    Cleveland, OH
    MS-Off Ver
    Excel 2010
    Posts
    5

    VBA Macro needed to delete X amount of rows below the Nth row

    Thanks in advance for the help.
    I have a set of data with a dynamic number or rows. Could be 10, could be 1000. I want to find the last row of data before any spaces, and delete the next 12 rows. Any help would be great!

    I added a sample file of what I'm trying to get accomplished. For the file attached, I want the macro to find the cell after 78627(A:20) and delete the next 12 rows. The rows are dynamic, so the formula needs to be able to recognize the first blank cell whether it happens to be A:5 or A:1000.

    Thanks for the help, I know this is a tough one.
    Attached Files Attached Files
    Last edited by jsirish; 11-02-2012 at 08:51 AM. Reason: I updated the attachment

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