+ Reply to Thread
Results 1 to 3 of 3

find empty row and next 3 rows

  1. #1
    Registered User
    Join Date
    02-05-2010
    Location
    eindhoven, netherlands
    MS-Off Ver
    Excel 2007
    Posts
    2

    find empty row and next 3 rows

    HI,

    this is what i have:

    Sub test()
    Columns(1).SpecialCells(xlCellTypeBlanks).EntireRow.Delete
    End Sub

    but i also like it to select the 3 rows folowing teh empty row and delete it and i cant find out how to do this, so i like some help

    thanks B

  2. #2
    Forum Contributor
    Join Date
    04-18-2009
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2016
    Posts
    269

    Re: find empty row and next 3 rows

    Use this macro:

    Please Login or Register  to view this content.

    The macro runs on the active sheet.

    Regards,
    Karan

  3. #3
    Registered User
    Join Date
    02-05-2010
    Location
    eindhoven, netherlands
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: find empty row and next 3 rows

    thanks,

    it works like a charm

+ 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