Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Moving Spreadsheets with formulas attached, between workbooks.

Hi,

I'm encountering broken links after attempting to merge two xls workbooks
together...sigh.

a formula that was =Sales!P34
becomes:
='C:\...\abc.xls'[sales]!P34 (or some such)

locking the formula in the cell directly to the workbook it was created in.

Q: How can I make the reference to the Workbook relative? Is there something
like...

=[thisWorkbook]!Sales!P34

....not an absolute reference?

many thanks !

Paul

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,090
Default Moving Spreadsheets with formulas attached, between workbooks.

Paul
The simplest thing to do is to change the formulas you are moving into
text before you move them and then convert them back to formulas afterwards.
You can do this easily by clicking on Edit - Replace. In the space for
"What to find" put "=" without the quotes. In the space for "Replace with",
put "$$$$$" without the quotes.
Then after you move them, do the same thing in reverse. HTH Otto

"DigiWongaDude" wrote in message
...
Hi,

I'm encountering broken links after attempting to merge two xls workbooks
together...sigh.

a formula that was =Sales!P34
becomes:
='C:\...\abc.xls'[sales]!P34 (or some such)

locking the formula in the cell directly to the workbook it was created
in.

Q: How can I make the reference to the Workbook relative? Is there
something
like...

=[thisWorkbook]!Sales!P34

...not an absolute reference?

many thanks !

Paul



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Attached templates become spreadsheets Lon Sarnoff Excel Programming 0 February 28th 07 11:43 PM
How to keep macros attached when moving sheet to a new workbook [email protected] Excel Programming 2 December 21st 06 04:20 PM
Moving between spreadsheets ecriez Excel Discussion (Misc queries) 3 February 17th 06 05:48 PM
Two spreadsheets linked - moving cells Adam Excel Discussion (Misc queries) 1 January 4th 05 12:59 PM
moving macros between spreadsheets Alex[_20_] Excel Programming 2 March 2nd 04 05:39 PM


All times are GMT +1. The time now is 05:36 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"