PC Review


Reply
Thread Tools Rate Thread

Copying records to another worksheet

 
 
marcia2026
Guest
Posts: n/a
 
      5th Aug 2008
I am currently using Ron de Bruin's macro that copies unique values to
separate sheets. Currently, they copy into the same workbook. I would like
for them to copy into separate workbooks. I have tried his other macro for
copying to separate workbooks, but it creates a new workbook each time you
run the macro.

I have 3 unique values in the control sheet. The control workbook has
numerous worksheets because a new one is created for each working day of the
month. With your help I have been able to specify which sheet is being
copied and how to give the new sheets a unique name, but I would really like
for those sheets to in copy into specific folders set up in the master folder.

Master folder would have these four workbooks: Control, MV, RMS, BE.


 
Reply With Quote
 
 
 
 
marcia2026
Guest
Posts: n/a
 
      5th Aug 2008
What is wrong with these statements?

Sheets.("RMS" & " " & ws1.Name).Select
Sheets("RMS" & " " & ws1.Name).Move
Before:=Workbooks("RMS.xls").Sheets(blank) <<< it bugged out here


Sheets("MV" & " " & ws1.Name).Select
Sheets("MV" & " " & ws1.Name).Move
Before:=Workbooks("MV.xls").Sheets(blank)

I recorded a macro moving these sheets to another workbook, and pasted it in
at the end of the macro.


"marcia2026" wrote:

> I am currently using Ron de Bruin's macro that copies unique values to
> separate sheets. Currently, they copy into the same workbook. I would like
> for them to copy into separate workbooks. I have tried his other macro for
> copying to separate workbooks, but it creates a new workbook each time you
> run the macro.
>
> I have 3 unique values in the control sheet. The control workbook has
> numerous worksheets because a new one is created for each working day of the
> month. With your help I have been able to specify which sheet is being
> copied and how to give the new sheets a unique name, but I would really like
> for those sheets to in copy into specific folders set up in the master folder.
>
> Master folder would have these four workbooks: Control, MV, RMS, BE.
>
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copying records from a date interval from one worksheet to another ricky Microsoft Excel Misc 1 22nd Jul 2007 05:32 AM
Deleting half completed records and copying records questions wazza_c12@hotmail.com Microsoft Access 2 8th Jul 2006 01:39 AM
Deleting half completed records and copying records questions wazza_c12@hotmail.com Microsoft Access Forms 2 8th Jul 2006 01:39 AM
Create New Records in a Table by Copying Existing Records =?Utf-8?B?UnlhbkpMSA==?= Microsoft Access Queries 3 10th Mar 2006 08:11 PM
Copying Worksheet triggers Click event of combobox on another worksheet Robert Microsoft Excel Programming 0 23rd Jan 2004 07:40 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:31 AM.