+ Reply to Thread
Results 1 to 3 of 3

Macro to Copy rows to a new sheet that contain certain text

  1. #1
    Registered User
    Join Date
    04-15-2009
    Location
    Victoria, BC
    MS-Off Ver
    Excel 2010
    Posts
    3

    Macro to Copy rows to a new sheet that contain certain text

    Hi All,

    I have a report containing over 6000 rows of data that I want to summarize on another sheet in the workbook. All of my data is in column A as the report was copied over from another source and running a text to columns on it did not work well. Basically, I want to copy all the rows on sheet "VIC RAW" that contain the words "Lot Total" to sheet "VIC SUMMARY". The rows contain much more than just the words "Lot Total". The total number of rows int he "VIC RAW" sheet can vary, so I would like the range to go to the last used row on the sheet. Each row containing "Lot Total" should be copied to the next blank row on the "VIC SUMMARY" sheet. I have been trying this for days and can't get it. Help is appreciated!!

    Thanks!!

  2. #2
    Valued Forum Contributor StevenM's Avatar
    Join Date
    03-23-2008
    Location
    New Lenox, IL USA
    MS-Off Ver
    2007
    Posts
    910

    Re: Macro to Copy rows to a new sheet that contain certain text

    Backup your data.
    Run: AddLotTotals
    If I've misunderstood what you want, reply back and I'll try to fix it.

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    04-15-2009
    Location
    Victoria, BC
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Macro to Copy rows to a new sheet that contain certain text

    This works perfectly! thanks so much!!

+ 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