Disable Display When Updating from other Workbooks

howard

Well-known Member
Joined
Jun 26, 2006
Messages
6,561
Office Version
  1. 2021
Platform
  1. Windows
I have a workbook BR1VOA.NV that has a macro that Updates another workbook VOA1 and then copies the data to the workbook BR1VOA.NV

The macro works fine, except that you can see workbook VOA1 being updated. I have tried using application.screenupdating = False, but it still shows the other worbook being updated

It would be appreciated if you could assist

regards

Howard
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Hi Howard, I can't think of any reason as to why the ScreenUpdate call would fire unless in wrong place... can you post up the code you have ?

Do you have any code for ex that fires in the 2nd workbook when it's opened which might be forcing screenupdating to true (ie override previous setting) ?
 
Upvote 0
Hi Lasw10

Thanks for the reply. I have several sepwerate macro's and then one Macro called Auto_Update which runs the other macro's. I never have the Screenupdating in the Macro Auto_Update. I have now set it, and it works perfectly

Regards

Howard
 
Upvote 0
Excellent - it was pointed out to me that ScreenUpdate will revert to true on completion of the routine in which it resides so as you say if it was previously in an invoked routine (ie called via another, ie from the "master" routine) it would reset to true once that particular sub routine had finished... moving to the "master" routine will ensure it's set to False until that routine has finished (and will thus be applied across any/all other routines invoked from "master").
 
Upvote 0

Forum statistics

Threads
1,214,859
Messages
6,121,963
Members
449,059
Latest member
oculus

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