Copy unknown # of sheets in a workbook that cell formulas references the previously copied sheet.

Kap61

New Member
Joined
Jun 28, 2012
Messages
13
Goal: Copy unknown # of sheets in a workbook that cell formulas references the previously copied sheet.

NOTE: I need to Lock the sheets and protect the workbook, but cannot get it working protected or not.

I have a master sheet in a workbook "PR1" that I have filled out, I also have "PR2" that has formulas that references "PR1". "=('PR1'!A2+1)"

Issue: I might need "PR2" or might need to go all the way up to "PR20", when I simple copy "PR2" to "PR3", formulas still reference "PR1" when I need them to reference "PR2" that was copied.

Issue: If I copy "PR2" and go to edit the formulas in the new "PR3", whether I do it in the formula bar or using the "Find & Replace" command, I would expect any references to change but instead the "Windows File Explorer" opens.

Example: In "PR2" I have "=('PR1'!A2+1)", I want this to be "=('PR2'!A2+1)", and so on.
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

Forum statistics

Threads
1,215,501
Messages
6,125,169
Members
449,212
Latest member
kenmaldonado

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