Disable Display When Updating from other Workbooks

howard

Well-known Member
Joined
Jun 26, 2006
Messages
5,701
Office Version
  1. 2019
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
 

Some videos you may like

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

DonkeyOte

MrExcel MVP
Joined
Sep 6, 2002
Messages
9,123
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) ?
 

howard

Well-known Member
Joined
Jun 26, 2006
Messages
5,701
Office Version
  1. 2019
Platform
  1. Windows
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
 

DonkeyOte

MrExcel MVP
Joined
Sep 6, 2002
Messages
9,123
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").
 

Watch MrExcel Video

Forum statistics

Threads
1,122,961
Messages
5,599,061
Members
414,281
Latest member
Engjamal2021

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
Top