PC Review


Reply
Thread Tools Rate Thread

Can you bring one workbook into another workbook?

 
 
PRECO_GIS
Guest
Posts: n/a
 
      16th Jun 2008
I have two separate workbooks that were previously set up for me with macros
included... both work separately in their own rights, however I would like to
be able to blend them... I do not have VB skills to speak of (I am more of a
SQL admin).

How can I bring the best of both of these workbooks together into a new
workbook?
 
Reply With Quote
 
 
 
 
Harald Staff
Guest
Posts: n/a
 
      16th Jun 2008
In the VB editor you can drag all modules, classes and forms from one file
("project") into the other in the project editor. Then in Excel select all
sheet tabs at once, rightclick, "move or copy", move to the other file.

You may/will encounter problems if macros or functions are named the same,
sheets are named the same, ranges are named the same in the two files. Also
there will be problems if macros address sheets by index instead of names.

HTH. Best wishes Harald


"PRECO_GIS" <(E-Mail Removed)> wrote in message
news:83C50C77-3509-4263-A57A-(E-Mail Removed)...
>I have two separate workbooks that were previously set up for me with
>macros
> included... both work separately in their own rights, however I would like
> to
> be able to blend them... I do not have VB skills to speak of (I am more of
> a
> SQL admin).
>
> How can I bring the best of both of these workbooks together into a new
> workbook?


 
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
Is there a way to copy a bunch of cells to another workbook, But also bring over the named ranges? greg Microsoft Excel Programming 2 14th Jul 2009 04:14 PM
Bring one sheet from one workbook to another via formula =?Utf-8?B?RmdiZHJ1bQ==?= Microsoft Excel Misc 1 28th Nov 2006 09:18 PM
bring focus to workbook with variable name Jacob Microsoft Excel Programming 5 10th Nov 2006 01:02 PM
Double Clicking on link w/i workbook does't bring me to souce. =?Utf-8?B?dGZyYW5j?= Microsoft Excel Worksheet Functions 2 19th Jul 2006 01:16 PM
Running a macro to protect a workbook on a already protected workbook UNprotects the workbook ?? WimR Microsoft Excel Programming 9 25th Jul 2005 12:44 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:18 AM.