Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Copying EVERYTHING from one workbook to another


Hi,

Okay this is a slightly detailed query.

I have a template workbook used for making rosters. It has 2 worksheets
and a few modules containing a few macros each.

Now what I am trying to do is create a "Roster Generator" workbook. In
this the user enters a "start date" and "number of weeks". Then i want
to be able to create a new workbook which takes the template roster
sheets, modules and the macros from the template workbook.

I have figured out how to do the date manipulation and all but what i
can't work out is how to copy EVERYTHING(not just data) from one
workbook to another, whether the source workbook is closed or open.

Any suggestions?

Sahil


--
schoujar
------------------------------------------------------------------------
schoujar's Profile: http://www.excelforum.com/member.php...o&userid=26574
View this thread: http://www.excelforum.com/showthread...hreadid=401381

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 46
Default Copying EVERYTHING from one workbook to another

Filename$ = "test.xls"
ActiveWorkbook.SaveAs Filename$

"schoujar" wrote:


Hi,

Okay this is a slightly detailed query.

I have a template workbook used for making rosters. It has 2 worksheets
and a few modules containing a few macros each.

Now what I am trying to do is create a "Roster Generator" workbook. In
this the user enters a "start date" and "number of weeks". Then i want
to be able to create a new workbook which takes the template roster
sheets, modules and the macros from the template workbook.

I have figured out how to do the date manipulation and all but what i
can't work out is how to copy EVERYTHING(not just data) from one
workbook to another, whether the source workbook is closed or open.

Any suggestions?

Sahil


--
schoujar
------------------------------------------------------------------------
schoujar's Profile: http://www.excelforum.com/member.php...o&userid=26574
View this thread: http://www.excelforum.com/showthread...hreadid=401381


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
copying workbook formating to a differnent workbook Roger Excel Worksheet Functions 0 October 30th 09 05:27 PM
copying modules from one workbook to another workbook Vinod[_2_] Excel Discussion (Misc queries) 3 September 19th 08 06:18 PM
Copying Formulas from Workbook to Workbook Rupert[_2_] Excel Discussion (Misc queries) 3 June 4th 07 03:44 PM
Copying A Worksheet From Each Open Workbook to an new Workbook carl Excel Worksheet Functions 1 January 3rd 06 05:37 PM
Copying workbook contents to another workbook Josh Sale Excel Programming 3 November 23rd 03 10:57 PM


All times are GMT +1. The time now is 10:34 PM.

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

About Us

"It's about Microsoft Excel"