Solved

Copy worksheet from one excel document to another

Posted on 2013-01-20
3
305 Views
Last Modified: 2013-01-24
I have an excel template, that has a lot of VBA code in it and a lot of formulas etc...

It is used for data entry and displaying charts etc...

The users create a new workbook every day.

Now i have made some changes to the original workbook, changes are of formulas and some VBA code.

I want to copy the changes to existing workbooks without losing the data.  When i copy from the original the formulas change and point to the original.xlsm  

I dont want it to do that.  

example

Workbook 01042013.xlsm  Sheet 1
Workbook 01052013.xlsm  Sheet 1

Workbook Orignal.xlsm Sheet 1

I want to copy Sheet 1 from origitonal to 01042013  and 01052013 (sheet 1).  without losing the data entry but maintaining the newly calculated formulas from original .xlsm.

Does this make sense?

Thanks for the quick response.
0
Comment
Question by:Inframap
[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
3 Comments
 
LVL 1

Expert Comment

by:James Powell
ID: 38799697
Sounds similar to an absolute reference issue when copying cells.
Could you go the other way? Copying the data sheets to the code book, and then save as the same name as the dated book and over writing it?
0
 
LVL 6

Expert Comment

by:Eric Zwiekhorst
ID: 38800358
Dear inframap,

according to me it would be better to copy data from the worksheets 01042013 and 01052013 to the original workbook having the formula's, then saving the original workbook as 01042013 or 01052013.
This way the pointers would be on the OK workbook.

Kind regards

Eric
0
 

Accepted Solution

by:
Hectorjvegasg earned 500 total points
ID: 38807606
Dave (dlmille) give us this excellent tips related to your issue:

"Use your link manager to update links.  Hit Alt+E+K then click on the workbook needing a change in location.  Change the source location following the wizard and you should be in good shape.  All formulas that reference that original workbook location will then reference it in the new location - even chart formulas.  You can even specify a different workbook name as your new source, independent of location."

Here's a link to a quick tip with the steps:
http://www.exceltip.com/st/Changing_the_Source_Link_in_Excel_2007/1370.html

PS - if you have split out a workbook into multiple workbooks and are having link problems, please read this related article (a YES vote would  be appreciated!):
http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/A_9730-Workbook-link-problems-after-copying-tabs-to-a-new-workbook.html

Dave

Original Post: http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/Q_27669832.html
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
My attempt to use PowerShell and other great resources found online to simplify the deployment of Office 365 ProPlus client components to any workstation that needs it, regardless of existing Office components that may be needing attention.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa‚Ķ

751 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