ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Moving Worksheets From One File to Another (https://www.excelbanter.com/excel-discussion-misc-queries/238853-moving-worksheets-one-file-another.html)

dcapps

Moving Worksheets From One File to Another
 
Hello All,
I am attempting to move worksheets (which contain formulas) from one file
(we'll call it File #1) to another (File #2 obviously), and unfortunately,
the result in File #2 is something that reads ='File #1'A6 (just an example).
How can I move worksheets from one file to another without including the
references to the original spreadsheet? In short, how can I get the cell to
read =A6 after it has been moved to the new document? I would truly
appreciate any help anyone would be willing to offer. Thanks so much, and
have a great day!

Dave Peterson

Moving Worksheets From One File to Another
 
If your formulas on the original worksheet point to other sheets in the original
workbook, then those formulas will continue to point to that original workbook
after you move it.

You have at least a couple of work-arounds.

#1. Do the move and correct the formulas (a bunch??) of edit|Replaces to remove
the old workbook and old worksheet's name.

#2. Use Edit|Links|Change Source (xl2003 menus) to point to the new workbook
(you'll have to save this new workbook first, though).

#3. Change all the formulas on the original sheet to strings:
Select all the cells
edit|replace
what: = (equal sign)
with: $$$$$=
replace all

Move the sheet

And change all the strings back to formulas:
Select all the cells
edit|replace
what: $$$$$=
with: =
replace all

dcapps wrote:

Hello All,
I am attempting to move worksheets (which contain formulas) from one file
(we'll call it File #1) to another (File #2 obviously), and unfortunately,
the result in File #2 is something that reads ='File #1'A6 (just an example).
How can I move worksheets from one file to another without including the
references to the original spreadsheet? In short, how can I get the cell to
read =A6 after it has been moved to the new document? I would truly
appreciate any help anyone would be willing to offer. Thanks so much, and
have a great day!


--

Dave Peterson


All times are GMT +1. The time now is 03:25 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com