+ Reply to Thread
Results 1 to 6 of 6

dlelete certain rows only.

  1. #1
    Registered User
    Join Date
    12-01-2015
    Location
    ballarat
    MS-Off Ver
    2013
    Posts
    85

    dlelete certain rows only.

    Hello,
    Hoping someone can assist with a solution to deleting some rows in my sheet please.
    As per the attached there is one line of text followed by a blank row then a line with headings and below more text rows. This pattern is followed down the sheet. This is a small sample.
    What I would like to be able to do is to eliminate all the rows bar the top three under the rows starting with No in Col A then continue down and do the same again.
    I need to retain the line of text before the rows that have 'No' in it.
    Have produced result hoped for in the attachment.
    Attached Files Attached Files

  2. #2
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: dlelete certain rows only.

    Try this:-
    Please Login or Register  to view this content.
    Regards Mick

  3. #3
    Registered User
    Join Date
    09-09-2015
    Location
    India
    MS-Off Ver
    2010
    Posts
    65

    Re: dlelete certain rows only.

    Hi Gilnic,

    PFA and PFB for the required VBA code. I hope this code will be helpful.

    Please Login or Register  to view this content.
    Regards
    Ramandeep Singh

    Please Click STAR to Add Reputation if my answer helped!
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    12-01-2015
    Location
    ballarat
    MS-Off Ver
    2013
    Posts
    85

    Re: dlelete certain rows only.

    Hello,
    Thank you both for providing solutions to my query.It is interesting to see two different approaches.

  5. #5
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: dlelete certain rows only.

    You're welcome

  6. #6
    Registered User
    Join Date
    09-09-2015
    Location
    India
    MS-Off Ver
    2010
    Posts
    65

    Re: dlelete certain rows only.

    Hi Gilnic,

    You are welcome.

    If your problem is solved, mark your thread as Solved: Click Thread Tools above your first post, select "Mark your thread as Solved". Or click the Edit button on your first post in the thread, Click Go Advanced, select [SOLVED] from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Dropdown option or Edit button will not appear -- ask a moderator to mark it.

    Regards
    Ramandeep Singh

    Please Click STAR to Add Reputation if my answer helped!

+ 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. Replies: 1
    Last Post: 02-16-2015, 11:46 AM
  2. Replies: 6
    Last Post: 06-07-2014, 10:07 AM
  3. Merge Duplicate Rows unique values into single rows for an infinite amount of columns/rows
    By aimeecrystalaid in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-21-2013, 08:43 PM
  4. [SOLVED] Delete blank rows between data rows, shift rows up, then repeat
    By excelactuary in forum Excel General
    Replies: 2
    Last Post: 03-11-2013, 11:53 AM
  5. Replies: 6
    Last Post: 03-04-2013, 12:03 AM
  6. Replies: 5
    Last Post: 11-12-2012, 08:38 PM
  7. Replies: 6
    Last Post: 08-18-2012, 05:00 AM

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