Solved

Copying and Migrating from one Spreadsheet to another

Posted on 2011-02-21
3
287 Views
Last Modified: 2012-05-11
I have two fairly complex workbooks created in Excel 2010.   The function in one, I want in the other and thus I must move/copy or migrate 4 sheets in the source to the target.  What considerations should I take into account as I try to bring in the functionality?  For example, should I copy or move the functionality (i.e.create a copy of the source and paste it into the other workbook).  Will Macros automatically come over when I copy a sheet from source to target?  If I have to copy over the macros, do they have to be in the same "Module"?  Will Range Names copy over?   I'm looking to try to not create a huge problem as I try to bring over the functionality and want to understand any "gotchas".

Thank you,

B.
0
Comment
Question by:Bright01
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 30

Expert Comment

by:SiddharthRout
ID: 34947825
1) If the code is stored in the sheet code area then you can copy the sheets directly and the code will be copied.

2) If the code is stored in a module then simply right click on the module of the source workbook and export it as a .BAS file which you can import in the new file. Please see snapshot.

Sid
Untitled.jpg
0
 

Author Comment

by:Bright01
ID: 34949346
Sid,  Thanks for the reply; what about range names and conditional formatting?  Does that come over with a copy and paste?  How about if I right click on the tab and make a copy or move function?

B.
0
 
LVL 30

Accepted Solution

by:
SiddharthRout earned 500 total points
ID: 34951612
How about if I right click on the tab and make a copy or move function?

I was exactly talking about that. Do not do a normal copy and paste.

Sid
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Leon
Software Metering within our group of companies has always been an afterthought until auditing of software and licensing became a pain point. Orchestrator and SCCM metering gave us the answer and it was an exciting process.
Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question