Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Copying and Migrating from one Spreadsheet to another

Posted on 2011-02-21
3
Medium Priority
?
305 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 2000 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

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

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

This very simple solution applies to a narrow cross-section of the "needs to close" variety. In this case, the full message in Event Viewer was in applog, Event ID 1000: Faulting application iexplore.exe, version 8.0.6001.18702, faulting module …
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.
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
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…

722 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