LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 92
Default When pasting formulas to other WB, the references still linked to old WB ...

When you make cell references to other worksheets, you will see the
sheetname in the formula.

I often copy and paste the formulas to another workbook and these
formulas now also show the reference to the old workbook. =Sheet2!D10
-- =[test.xls]Sheet2!D10

I want it to point to the reference cells in the new worksheet I
pasted to:
=Sheet2!D10 -- =Sheet2!D10

I find this to be a big problem, because when I develop new versions
of VBA code the workbook and design changes, I what to update it with
all old valuses and formulas in the earlier version. Sometime also I
have a empty template workbook and what to add all data from another
calculation workbook - the users not knowing VBA, Excel find and
replace functions etc also experience this problem.

Even more troublesome will it be - I have some named ranges I have
formulas into, that include references to sheets. When pasting these
referenced cells, the named range is pasted as well - and it should!
But not with a reference to the old workbook. It is almost impossible
to find these external references for an ordinary user and completly
impossible considering they are hidden and the workbook is
protected...

Is there a way with VBA code procedured to cover this events? Or is
there some kind of different modes of named ranges, like global or
sheets that make a difference in this matter?

Anybody having a solution? Today, I myself had to run find and replace
each WS to get rid of the workbook reference and search my had through
the named ranges to find the external links. Tools like Navigator
utilities doesn't help here either...

Kind regards
Tskogstrom

 
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
how do i auto update cell values after pasting linked references kev Excel Worksheet Functions 0 December 6th 07 05:09 PM
pasting formulas with references to other worksheets David Excel Worksheet Functions 3 February 8th 07 12:08 PM
Pasting from Excel should let me to show references Peter Carswell (Cape Town, S.Africa) Excel Discussion (Misc queries) 0 April 7th 06 06:33 PM
relative references when cutting/pasting barnett Excel Discussion (Misc queries) 7 September 28th 05 09:29 PM
Pasting numbers and formulas without pasting format. Dan Excel Discussion (Misc queries) 3 March 27th 05 03:47 AM


All times are GMT +1. The time now is 09:00 PM.

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"