Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default copy worksheet to another workbook

Each month I create a new folder with a workbook to enter daily activity. At
the end of the month, I run a macro that creates a summary page of all of the
data. I would like to link or copy the summary page to another workbook in
the same folder. What code could I add to accomplish this.?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default copy worksheet to another workbook

Do you expect that you'll have any cells in the worksheet that might not be
copied (long data entry). If so, copying the worksheet might not work
without doing other things. If it were me, I'd save the file with a new name
and then delete all the worksheets but the one you need.

Do you want to keep the summary page with the original workbook? Or can it
be created as a separate workbook?

There are several approaches that can be taken.

Let us know.
Barb Reinhardt

"marcia2026" wrote:

Each month I create a new folder with a workbook to enter daily activity. At
the end of the month, I run a macro that creates a summary page of all of the
data. I would like to link or copy the summary page to another workbook in
the same folder. What code could I add to accomplish this.?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,836
Default copy worksheet to another workbook

Maybe you can find something useful he
http://www.rondebruin.nl/summary.htm
http://www.rondebruin.nl/summary2.htm
and finally...
http://msdn.microsoft.com/en-us/library/cc793964.aspx

Regards,
Ryan---

--
RyGuy


"Barb Reinhardt" wrote:

Do you expect that you'll have any cells in the worksheet that might not be
copied (long data entry). If so, copying the worksheet might not work
without doing other things. If it were me, I'd save the file with a new name
and then delete all the worksheets but the one you need.

Do you want to keep the summary page with the original workbook? Or can it
be created as a separate workbook?

There are several approaches that can be taken.

Let us know.
Barb Reinhardt

"marcia2026" wrote:

Each month I create a new folder with a workbook to enter daily activity. At
the end of the month, I run a macro that creates a summary page of all of the
data. I would like to link or copy the summary page to another workbook in
the same folder. What code could I add to accomplish this.?

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default copy worksheet to another workbook

It does not matter if the summary sheet stays in the original workbook or
not. The macro can create it at any time. However, I do need to get the
information into the "NSF" workbook in order to manipulate the data with
other information.

"Barb Reinhardt" wrote:

Do you expect that you'll have any cells in the worksheet that might not be
copied (long data entry). If so, copying the worksheet might not work
without doing other things. If it were me, I'd save the file with a new name
and then delete all the worksheets but the one you need.

Do you want to keep the summary page with the original workbook? Or can it
be created as a separate workbook?

There are several approaches that can be taken.

Let us know.
Barb Reinhardt

"marcia2026" wrote:

Each month I create a new folder with a workbook to enter daily activity. At
the end of the month, I run a macro that creates a summary page of all of the
data. I would like to link or copy the summary page to another workbook in
the same folder. What code could I add to accomplish this.?

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default copy worksheet to another workbook

Ok, here it is in a nutshell. At a certain point in my macro, I need to open
a workbook (of my choosing), copy the summary page (always named "Summary) to
the active workbook, then close the 2nd workbook that I opened. Then move on
in my macro.

I don't have a clue how to do this. I have searched the forum and all of
the links that have been provided and nothing makes sense to me on this one.



"marcia2026" wrote:

It does not matter if the summary sheet stays in the original workbook or
not. The macro can create it at any time. However, I do need to get the
information into the "NSF" workbook in order to manipulate the data with
other information.

"Barb Reinhardt" wrote:

Do you expect that you'll have any cells in the worksheet that might not be
copied (long data entry). If so, copying the worksheet might not work
without doing other things. If it were me, I'd save the file with a new name
and then delete all the worksheets but the one you need.

Do you want to keep the summary page with the original workbook? Or can it
be created as a separate workbook?

There are several approaches that can be taken.

Let us know.
Barb Reinhardt

"marcia2026" wrote:

Each month I create a new folder with a workbook to enter daily activity. At
the end of the month, I run a macro that creates a summary page of all of the
data. I would like to link or copy the summary page to another workbook in
the same folder. What code could I add to accomplish this.?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy worksheet from one workbook to a master workbook mvannatta Excel Worksheet Functions 3 April 15th 09 08:32 PM
How to Copy entire Worksheet from Workbook S to Workbook D kris Excel Programming 3 June 20th 07 02:03 PM
Copy Data from Workbook into specific Worksheet in other Workbook? kingdt Excel Discussion (Misc queries) 1 March 16th 06 06:55 PM
How do I copy a worksheet form a workbook in my workbook Neil Atkinson Excel Programming 1 October 12th 05 12:23 PM
copy worksheet from closed workbook to active workbook using vba mango Excel Worksheet Functions 6 December 9th 04 07:55 AM


All times are GMT +1. The time now is 11:09 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"