+ Reply to Thread
Results 1 to 5 of 5

Macro to delete rows containing duplicate headings from row 2 onwards

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

    Macro to delete rows containing duplicate headings from row 2 onwards

    I have written code to delete duplicate headings from row 2 onwards on all sheets from "Consolidated Data"

    I get a compile error 'End with without With

    It would be appreciated if someone could assist me in resolving this




    Please Login or Register  to view this content.

  2. #2
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: Macro to delete rows containing duplicate headings from row 2 onwards

    This is better:
    Please Login or Register  to view this content.
    Cheers
    Erwin
    Last edited by Eastw00d; 05-25-2020 at 10:41 PM.
    I started learning VBA because I was lazy ...
    Still developing.... being more lazy...

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

    Re: Macro to delete rows containing duplicate headings from row 2 onwards

    Thanks for the help, Erwin

  4. #4
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: Macro to delete rows containing duplicate headings from row 2 onwards

    If you would make a little more structure in your coding, you would see this easier.
    Thank you for the rep.points
    Cheers
    Erwin

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

    Re: Macro to delete rows containing duplicate headings from row 2 onwards

    Thanks for the tip. It will certainly help

+ 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 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
  2. [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
  3. [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
  4. 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
  5. Macro Delete Duplicate Rows with Exception
    By smmeader in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-20-2012, 12:37 AM
  6. Macro to Filter and delete Duplicate rows
    By Roop in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-28-2010, 08:26 PM
  7. Delete duplicate headings
    By [email protected] 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