Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
slvrblt
 
Posts: n/a
Default copy/paste from one file to another without file name reference


Hi there. Here is my problem: I have two files, Model A and Model B. I
need to copy multiple cells containing formulas from Model A to Model
B.

Original Forumla in Model A:
=1000000/Fuel_Specs!C8*Fuel_Specs!D8

When copied into Model B:
=1000000/'[NEW MODEL 01.30.05.xls]Fuel_Specs'!C8*'[NEW MODEL
01.30.05.xls]Fuel_Specs'!D8

It is referencing the file name of Model A when copied into Model B.
How do I eliminate this so only the formula pastes. (Sheet names in
Model A and B are identical.)

I could double click each cell, highlight the formula and then copy it
over, and it works. But I have about 3000 cells that need to be copied
and would like to be able to highlight multiple cells at once and copy
over.

Please help! Thanks in advance.


--
slvrblt
------------------------------------------------------------------------
slvrblt's Profile: http://www.excelforum.com/member.php...o&userid=19521
View this thread: http://www.excelforum.com/showthread...hreadid=342714

  #2   Report Post  
cycling-rod
 
Posts: n/a
Default


The answer may be he
http://www.j-walk.com/ss/excel/usertips/tip066.htm I haven't tried it
out, but it may do the job.


--
cycling-rod
------------------------------------------------------------------------
cycling-rod's Profile: http://www.excelforum.com/member.php...o&userid=13520
View this thread: http://www.excelforum.com/showthread...hreadid=342714

  #3   Report Post  
slvrblt
 
Posts: n/a
Default


Thanks but that doesnt work in this case. I am trying to copy between
two different files, not two sheets in the same file. You cannot group
two sheets together that are part of separate files.

Anyone else have any suggestions? Thanks.


--
slvrblt
------------------------------------------------------------------------
slvrblt's Profile: http://www.excelforum.com/member.php...o&userid=19521
View this thread: http://www.excelforum.com/showthread...hreadid=342714

  #4   Report Post  
Dave Peterson
 
Posts: n/a
Default

I like to change my formulas to text:

Edit|replace
what: =
with: $$$$$= (some unique string)
replace all.

Then copy|paste

Then convert the text back to formulas (in both workbooks).
Edit|replace
what: $$$$$= (that same string)
with: =
replace all.


===
Another option would be to change the links on the "pasted" worksheet.

Edit|links|change source
and point at the current workbook


slvrblt wrote:

Hi there. Here is my problem: I have two files, Model A and Model B. I
need to copy multiple cells containing formulas from Model A to Model
B.

Original Forumla in Model A:
=1000000/Fuel_Specs!C8*Fuel_Specs!D8

When copied into Model B:
=1000000/'[NEW MODEL 01.30.05.xls]Fuel_Specs'!C8*'[NEW MODEL
01.30.05.xls]Fuel_Specs'!D8

It is referencing the file name of Model A when copied into Model B.
How do I eliminate this so only the formula pastes. (Sheet names in
Model A and B are identical.)

I could double click each cell, highlight the formula and then copy it
over, and it works. But I have about 3000 cells that need to be copied
and would like to be able to highlight multiple cells at once and copy
over.

Please help! Thanks in advance.

--
slvrblt
------------------------------------------------------------------------
slvrblt's Profile: http://www.excelforum.com/member.php...o&userid=19521
View this thread: http://www.excelforum.com/showthread...hreadid=342714


--

Dave Peterson
  #5   Report Post  
slvrblt
 
Posts: n/a
Default


Thanks Dave! That works like a charm!


--
slvrblt
------------------------------------------------------------------------
slvrblt's Profile: http://www.excelforum.com/member.php...o&userid=19521
View this thread: http://www.excelforum.com/showthread...hreadid=342714

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
Maintaining cell reference after sorting GRITS Excel Discussion (Misc queries) 2 April 30th 23 07:42 PM
Automatically change tab reference TWC Excel Discussion (Misc queries) 2 February 2nd 05 10:17 PM
Excel Reference points to original file Gary Brown Excel Discussion (Misc queries) 0 January 24th 05 09:31 PM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM
Convert text file to MS_Excel Aqua Flow Excel Discussion (Misc queries) 1 November 30th 04 02:55 AM


All times are GMT +1. The time now is 06:46 AM.

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

About Us

"It's about Microsoft Excel"