+ Reply to Thread
Results 1 to 3 of 3

Macro to delete rows from duplicated header onwards

  1. #1
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2021
    Posts
    2,725

    Macro to delete rows from duplicated header onwards

    I have 'Stock Number" in A1

    Where this appears again , I would like a macro to delete the data from the duplicated headers and all the data below it

    In the attached sample data, I want the Data from A13 to A21 to be deleted

    Your assistance in this regard is most appreciated

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,524

    Re: Macro to delete rows from duplicated header onwards

    Try
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2021
    Posts
    2,725

    Re: Macro to delete rows from duplicated header onwards

    Thanks for the help Jindon. Code works perfectly

+ 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. [SOLVED] delete rows contain duplicated data or non duplicated by inputbox
    By ABDELFATTA in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-25-2020, 04:01 PM
  2. [SOLVED] Macro to delete Duplicate DHeadings from Row3 onwards and 4 rows below this
    By Howardc1001 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-14-2020, 06:22 AM
  3. [SOLVED] Macro to delete rows containing duplicate headings from row 2 onwards
    By Howardc1001 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-25-2020, 11:17 PM
  4. [SOLVED] Macro to hide columns where zero in in all rows from row2 onwards
    By Howardc1001 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-15-2020, 09:33 PM
  5. [SOLVED] Macro to find a column header and delete certain rows of data
    By robertguy in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-17-2013, 02:10 PM
  6. Delete Duplicated rows
    By lorena.tgarza in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-09-2012, 07:49 PM
  7. How delete rows duplicated???
    By Wilmarjr in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-22-2012, 05:59 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