Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default Copy Workbook

Hi Group;

I have a WorkBook with a tremendous amount of Macro Code. My
supervisors decided to give me a new WorkBook. I have to use the data from
the new WorkBook but need the Macros from my old WorkBook. Both Excel
WorkBooks have the same name. I am sure I will probably have to re-name one
of them, but how do I get the Macro Code from my Old WorkBook into my new
WorkBook automatically. I know I can copy the code and repaste it, but if
one of the office workers has to do this again, I would like to automate the
process.

Thanks in Advance;

J. Quinn


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 772
Default Copy Workbook

There used to be a way to do this easily through code, but with current
security setting i've found it to be just as big of a pain to change all the
settings. The easiest is to right click and export each, then import
manually. If you want to try the other way check out chip pearson's site
http://www.cpearson.com/excel/vbe.htm
--
-John
Please rate when your question is answered to help us and others know what
is helpful.


"John Quinn" wrote:

Hi Group;

I have a WorkBook with a tremendous amount of Macro Code. My
supervisors decided to give me a new WorkBook. I have to use the data from
the new WorkBook but need the Macros from my old WorkBook. Both Excel
WorkBooks have the same name. I am sure I will probably have to re-name one
of them, but how do I get the Macro Code from my Old WorkBook into my new
WorkBook automatically. I know I can copy the code and repaste it, but if
one of the office workers has to do this again, I would like to automate the
process.

Thanks in Advance;

J. Quinn


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
Macro to copy an image (or picture) from one workbook to a new sheetin another workbook Ruchir Excel Worksheet Functions 1 July 25th 08 07:29 AM
Excel-how to link source workbook to copy of destination workbook D Lynn Excel Worksheet Functions 1 May 29th 08 05:36 PM
loop through a column on a workbook copying data on each row to another workbook, then copy data back to the original workbook burl_rfc Excel Programming 1 April 1st 06 08:48 PM
Copy a range of cells in an unopened workbook and paste it to the current workbook topstar Excel Programming 3 June 24th 04 12:50 PM


All times are GMT +1. The time now is 01:54 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"