can I paste a formula to a new workbook that refers to a sheet in the new workbook, not the old one?

TomCon

Active Member
Joined
Mar 31, 2011
Messages
385
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
I have two workbooks with a sheet named "dashb".

In one workbook I have a formula like this
=dashb!L2

If i copy/paste that formula into the second workbook, it comes out like this:
=[D4_p_TRK.xlsm]dashb!L2
In other words the old (source) workbook name is included in the formula. But, i want the pasted formula to refer to the sheet "dashb" in the new, destination workbook.

Is there any way to simply paste the formula from the first workbook to the second, without getting the old, source workbook reference in the pasted formula?

Thanks!
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
To copy formulas from one workbook to another without the attributes of the source workbook, copy from the fromula bar at the top of the sheet. If you are using VBA to copy, then use the PasteSpecial xlPasteFormulas method.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,817
Messages
6,181,147
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top