Formula changes on paste

bedalhome

New Member
Joined
Nov 18, 2002
Messages
11
I have dozens of identical workbooks. I want to add a worksheet to all of them that is a summary of the data in the workbook. When I copy the formulas from my example workbook into the other workbooks, the pasted formulas refer back to the example workbook instead of the workbook I pasted the formulats into.

I copy ='SCI Material Batch Tracker'!B25

but it pastes ='[MMS5039-090623A-00-R.xls]SCI Material Batch Tracker'!B25

How do I paste and break the link?
 

AnalyticsGuy7

Board Regular
Joined
Apr 14, 2009
Messages
124
After you paste the formula you can update the workbook that it is supposed to refer to.

In Excel 2007, you go to the Data tab, and then go to "Edit links" under the Connections tab. You then select your current workbook and make the switch.

In Excel 2003, you go to Edit -> Links, and do the same.

Hope that helps!
 

bedalhome

New Member
Joined
Nov 18, 2002
Messages
11
Thanks AG7. That does help me with my macro, since I recorded the steps you gave.

I am surprised there is not an option to break links when pasting.

Bryan
 

AnalyticsGuy7

Board Regular
Joined
Apr 14, 2009
Messages
124
Well, you should note that instead of copying the CELL, you could copy the FORMULA (up in the formula bar), and then it should copy just fine. Also note that updating the link will update ALL links that used the old workbook as a reference.
 

bedalhome

New Member
Joined
Nov 18, 2002
Messages
11
Good point. Actually I am copying about 20 cells to the new workbook. Breaking the link to all of them is what I need. Thanks again.
 

Forum statistics

Threads
1,081,840
Messages
5,361,618
Members
400,642
Latest member
tekster23

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top