Disable Display When Updating from other Workbooks

howard

Well-known Member
Joined
Jun 26, 2006
Messages
6,115
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

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

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
6,115
Office Version
  1. 2021
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").
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,559
Messages
5,832,462
Members
430,136
Latest member
Asir Jefferson

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