+ Reply to Thread
Results 1 to 3 of 3

Macro to delete rows up to "Chassis"

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

    Macro to delete rows up to "Chassis"

    I have written code to delete rows up to before where chassis appears in Col A on sheet "imported data"


    It only deletes this in the first instance. I need the rows deleted up to before chassis each time chassis appears

    Please Login or Register  to view this content.

    I have attached sample data. I have shown what it should look look like after running the macro on sheet "result" to show what i require

    your assistance in this regard is most appreciated
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Macro to delete rows up to "Chassis"

    Please 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 up to "Chassis"

    Thanks for the help. 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 4 rows before chassis in Col A
    By Howardc1001 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-23-2022, 11:06 PM
  2. [SOLVED] Macro to Delete Blank rows in Col A above Text "Code"
    By Howardc1001 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-29-2021, 10:53 PM
  3. Replies: 4
    Last Post: 10-12-2014, 08:54 AM
  4. [SOLVED] Macro to Delete Rows in Columns Based on Length of Column "A"
    By rmmohan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-17-2013, 03:22 PM
  5. [SOLVED] Delete Rows if a cell does not equal "Finished" or "Complete"
    By Justair07 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 09-27-2013, 12:40 PM
  6. [SOLVED] Macro or vba to delete rows with "0" zero or "#"
    By ROHAN999 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-23-2013, 03:42 PM
  7. macro to delete row containing "private" then rows beneath upto blank row
    By Wagstaff in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-24-2010, 01:14 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