Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 206
Default copy / paste

Hi all,

not sure if this is a programming question or not but...

i copied (manually) a large range of data from one workbook to another (old
version of the book to the new version)

some of the cells had formulas that referenced another page in the old
workbook.
that page was also copied (manually again)

now the formulas point to the other workbook. is there any (easy) way to
remove the reference to the old workbook and just leave the formulas

ie
OLD WORKBOOK
=Sheet1!$C$2

after copy - NEW WORKBOOK
='Z:\Storage\[Book1.xls]Sheet1'!$C$2

tia

J
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 221
Default copy / paste

Find and replace, Gixxer. Just tell it to "search in formulas". Find
"Sheet1!" and replace with "Z:\Storage..."
*******************
~Anne Troy

www.OfficeArticles.com


"Gixxer_J_97" wrote in message
...
Hi all,

not sure if this is a programming question or not but...

i copied (manually) a large range of data from one workbook to another

(old
version of the book to the new version)

some of the cells had formulas that referenced another page in the old
workbook.
that page was also copied (manually again)

now the formulas point to the other workbook. is there any (easy) way to
remove the reference to the old workbook and just leave the formulas

ie
OLD WORKBOOK
=Sheet1!$C$2

after copy - NEW WORKBOOK
='Z:\Storage\[Book1.xls]Sheet1'!$C$2

tia

J



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 206
Default copy / paste

actually i wanted to remove the "Z:\Storage...",
and i didn't even think to use find/replace.

it's a good thing that i didn't because the ranges weren't exactly the same
(some columns moved over by 1 or 2

ended up writing a sub to take care of the truncation and adjusting the
offsets.

i'll keep that in mind for next time though!

thanks!

J

"Anne Troy" wrote:

Find and replace, Gixxer. Just tell it to "search in formulas". Find
"Sheet1!" and replace with "Z:\Storage..."
*******************
~Anne Troy

www.OfficeArticles.com


"Gixxer_J_97" wrote in message
...
Hi all,

not sure if this is a programming question or not but...

i copied (manually) a large range of data from one workbook to another

(old
version of the book to the new version)

some of the cells had formulas that referenced another page in the old
workbook.
that page was also copied (manually again)

now the formulas point to the other workbook. is there any (easy) way to
remove the reference to the old workbook and just leave the formulas

ie
OLD WORKBOOK
=Sheet1!$C$2

after copy - NEW WORKBOOK
='Z:\Storage\[Book1.xls]Sheet1'!$C$2

tia

J




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
Can't Copy and Paste or Paste Special between Excel Workbooks wllee Excel Discussion (Misc queries) 5 April 29th 23 03:43 AM
Copy, paste without file name referenced after paste AusTexRich Excel Discussion (Misc queries) 6 September 23rd 08 02:57 AM
Excel cut/Paste Problem: Year changes after data is copy and paste Asif Excel Discussion (Misc queries) 2 December 9th 05 05:16 PM
Copy and Paste macro needs to paste to a changing cell reference loulou Excel Programming 0 February 24th 05 10:29 AM
Macro to Copy/Paste then Paste to Next Line tomkarakowski Excel Programming 1 May 28th 04 01:19 AM


All times are GMT +1. The time now is 10:21 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"