+ Reply to Thread
Results 1 to 3 of 3

Macro to delete Duplicate headings

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

    Macro to delete Duplicate headings

    I have dates and Text in Col A

    I want to delete duplicate heading "date" i.e from where duplicate heading date appears going backwards up to first space to where an actual date is in Col A

    I have highlighted the rows in yellow to be deleted to make it easier to understand what I am trying to achieve



    The number of rows to be deleted may vary from month to month, hence the reason for the code to be amended per my request above

    Kindly amend my code below


    Please Login or Register  to view this content.
    Your assistance is most appreciated

    I have also posted on https://www.mrexcel.com/board/thread...-date.1177400/
    Last edited by Howardc1001; 07-25-2021 at 10:34 PM.

  2. #2
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,700

    Re: Macro to delete Duplicate headings

    You could try this.
    Please Login or Register  to view this content.
    If you're happy with the result, make sure to let both posts know that you have a solution.

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

    Re: Macro to delete Duplicate headings

    Thanks for the help, much appreciated

+ 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] Macro to Delete Delete headings and 9 rows above from row 15 onwards
    By Howardc1001 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-01-2021, 12:06 AM
  2. [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
  3. [SOLVED] Macro to delete Duplicate headings on Workbooks in a folder
    By Howardc1001 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 05-02-2019, 07:38 AM
  4. [SOLVED] Macro to combine duplicate Rows Based on a particular Column to separate INV Headings
    By prkhan56 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 02-28-2017, 06:38 AM
  5. VBA Code to delete the duplicate Headings
    By sabubakaralis in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-23-2014, 12:46 PM
  6. [SOLVED] Delete Multiple Columns with specific column headings using a Macro.
    By e4excel in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-30-2013, 07:28 PM
  7. Delete duplicate headings
    By gmayeaux@lctcs.net in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-11-2005, 08: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