+ Reply to Thread
Results 1 to 4 of 4

Copy Data to Specific Sheets

  1. #1
    Forum Contributor
    Join Date
    02-20-2007
    MS-Off Ver
    2003 & 2007
    Posts
    299

    Copy Data to Specific Sheets

    Project Anyone?
    Can a macro do this for me?

    On my database sheet in Col F5:down I have sheet names listed. Can a macro copy data from other columns and insert it into the specific sheets listed in column F but only if B is blank:
    I'll need:
    col C:D copied to B:C on specific sheet
    Col H:M copied to D:I on specific sheet
    Then,
    col O copied to either J,K,L,M
    depending if col N in database sheet = 1,2,3,4
    Then filldown the formula in Col O on specific sheet.

    Other things that make this seem impossible.
    I need to have the data inserted in blue before the total line on each sheet.
    I need to record the date when the data moved in col B on the database sheet. So that next time I run the macro It will only move data that has not been moved.
    I attached a before and after.
    Thank you for any help.

  2. #2
    Forum Contributor
    Join Date
    02-20-2007
    MS-Off Ver
    2003 & 2007
    Posts
    299
    not sure if attachment uploaded, tying again.
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    02-20-2007
    MS-Off Ver
    2003 & 2007
    Posts
    299
    I'm bumping this because If anyone knows how to do the copy and paste part, or the other parts invdividually, that would be atleast a start.

    Thanks.

  4. #4
    Forum Contributor
    Join Date
    02-20-2007
    MS-Off Ver
    2003 & 2007
    Posts
    299
    I did some searching and was able to paste together this code. I was hoping that is would atleast copy the data to the right sheet, once that was solved I could then focus on getting it to go to the right place with in that sheet. But It errors out at Worksheets(MonthName).Activate saying script out of range?? Any Ideas??
    Thank you.

    Please Login or Register  to view this content.

+ 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