+ Reply to Thread
Results 1 to 2 of 2

Macro - Every 58 rows, delete 6 rows

  1. #1
    Registered User
    Join Date
    06-02-2017
    Location
    Newbury
    MS-Off Ver
    2010
    Posts
    50

    Macro - Every 58 rows, delete 6 rows

    I have an exported spreadsheet that contains 6 rows of (mostly) blank cells every 58 rows. I have a macro in a second spreadsheet that uses this data but it won't work with these blanks. I initially tried F5, special, blanks, delete, but in some of these blank rows there is data which means it pushes all of the rows out of sync if that makes sense. Is there a macro I can put in that says "every 58 rows, delete the next 6"? Or another suggestion for my problem?

  2. #2
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,177

    Re: Macro - Every 58 rows, delete 6 rows

    is the 1st row headers?
    is the 2nd row blank? or data until 58 rows?

    start with this:
    Please Login or Register  to view this content.

+ 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. 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
  2. Macro To Find Rows With Duplicates, Compare Cells, And Delete Rows. - Excel
    By Kwame001 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-26-2013, 10:41 AM
  3. [SOLVED] Macro to delete rows with certain details in, but to keep other rows
    By Robert110 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-08-2013, 03:20 PM
  4. Replies: 13
    Last Post: 08-23-2011, 11:00 AM
  5. How to make my macro delete rows? It currently hides the rows instead of deleting.
    By Majkataxmk in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 05-20-2010, 01:14 PM
  6. Macro to delete all rows except rows that start $$11$ 11
    By Crowbar via OfficeKB.com in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-23-2005, 12:05 PM
  7. [SOLVED] Macro to select 4 entire rows and then delete rows
    By Scott Viney in forum Excel General
    Replies: 3
    Last Post: 09-22-2005, 03:05 PM

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