+ Reply to Thread
Results 1 to 6 of 6

Deleting multiple rows of data

  1. #1
    Registered User
    Join Date
    10-05-2007
    Posts
    24

    Deleting multiple rows of data

    I've been trying for some time but have not been able to get the right code to do what I need. I have a data file with multiple rows of data for multiple parts. This file gets to me as a csv. file. (see attatchment) I had something similar that I found here and was able to tweek to fit my needs, but it was for a sheet that only contained data for a single file on the worksheet (part of code below). The macro I need know has to work on a sheet with multiple parts (see attatchment for example of worksheet).

    Please Login or Register  to view this content.
    Attached Files Attached Files

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello Leal72,

    Can you give an example of the data you want to keep and what you deleted? Will the worksheet data be stored in separate files?

    Sincerely,
    Leith Ross

  3. #3
    Registered User
    Join Date
    10-05-2007
    Posts
    24
    I've attatched a workbook that has the file the way I receive it and the next sheet has it reduced.
    Attached Files Attached Files

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello Leal72,

    Thanks for taking the time to do that. I downloaded your file, and it is clear what you want to do. I'll work on this and post back.

    Sincerely,
    Leith Ross

  5. #5
    Registered User
    Join Date
    10-05-2007
    Posts
    24
    Hello Leith Ross

    Thanks for taking the time to look at this. Was wondering if you were able to come up with anything.

    thanks

  6. #6
    Forum Contributor
    Join Date
    10-08-2006
    Location
    Walnut, CA
    MS-Off Ver
    2003,2010, Office 365
    Posts
    114
    Hi,
    This procedure will output the result into Sheets("AFTER") and you can change the names to fit your needs. I don't think it's the most efficient way to do it, but it should get the job done!
    Please Login or Register  to view this content.
    Good Luck!
    Tony

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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