Application.ScreenUpdating = False or true | Excel 2007 & Excel 2013 | ||||||
I have problems to achieve the same function i Excel 2013 that I had i Excel 2007. | |||||||
By using ScreenUpdating = False or Tru I had full controll with wich sheet | |||||||
was visibel for the user, and abel to update information in the visible sheet while | |||||||
one or several Macros wher running. | |||||||
How it works in Excel 2007 | |||||||
I have an Excel Workbook that needs weekly update from other workbooks (47). | |||||||
The update sequens takes about 3 minutesw to run. | |||||||
To make it a little bit more fancy for the user, I have createt a Console sheet in the | |||||||
workbook. Fore the user, the Console sheet is present all the time when the update is running, | |||||||
and it is updatet with start, stop and elapsed time for each step (sub macro) that is run. | |||||||
Main Makro | |||||||
Application.ScreenUpdating = False | |||||||
Some house keeping | |||||||
Activate Console sheet and puts step information in row x | |||||||
Application.ScreenUpdating = True | ( the user will now see the updates in Console sheet) | ||||||
Application.ScreenUpdating = False | ( the user will not see any other sheets, then the Console sheet) | ||||||
Call Makro1 | ( transfer information from workbook x til Main workbook) | ||||||
Updates the information i row x | ( Makro1 is finished, and control i brougt back til Main Makro) | ||||||
Creates new information in row x + 1 | |||||||
Application.ScreenUpdating = True | ( the user will now see the updates in Console sheet) | ||||||
Application.ScreenUpdating = False | |||||||
Call Makro2 | ( same procedure, continues….) | ||||||
Updates the information i row x + 1 | |||||||
Creates new information in row x + 2 | |||||||
Application.ScreenUpdating = True | |||||||
Exit sub | |||||||
How it works in Excel 2013 | |||||||
First the positive thing, all the "main" updates are done corecly, but | |||||||
functionality with the Console sheet is totaly lost. | |||||||
The user are presentated a emty sheet while the update macros are running. | |||||||
The function with turning ON/OFF ScreenUpdating does not work. | |||||||
Are there a solution? Please let me know. | |||||||
Jørgen |
↧
Aplication.ScreenUpdating (Excel 2007 & Excel 2013)
↧