Sheet pulling from other workbook

kgeo12

New Member
Joined
Jun 30, 2022
Messages
1
Office Version
  1. 2016
Platform
  1. Windows
Hello,

I have made a macro-enabled sheet that uses the Prevsheet vba function. It all works great, but I have found that if I have another excel workbook (completely separate) open it will pull from that as the previous sheet if I update anything in that book. When I go back to the intended workbook and click a cell and hit enter it will update back to what I want.

Is there any way I can have it stay to only inside of the intended workbook?

If I turn off automatic updates then the problem goes away, but I would like it to be able to have the auto on since there are a lot of moving parts.

Any suggestions?

Thanks!!
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.

Forum statistics

Threads
1,215,212
Messages
6,123,655
Members
449,113
Latest member
Hochanz

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