Description: This issue illustrates a problem shown in bug 149325. Hopefully ScreenUpdating is easier to fix as this is a smaller file illustrating the situation. ScreenUpdating can be set to true/false to enable/disable the screen updating when code is run. Disabling ScreenUpdating improves the speed of code execution. The code is: Application.ScreenUpdating = False ScreenUpdating can be enabled after the block of code with: Application.ScreenUpdating = True Steps to Reproduce: The attached Microsoft Excel spreadsheet has two subroutines, ScreenUpdateTestWorks() and ScreenUpdateTestFails() Actual Results: Correct behavior: Subroutine ScreenUpdateTestWorks() show a sheet with all the cells look empty (as the screen is not updating) when the MsgBox states: All the data is entered into the cells. The application will update the screen when you press OK to see the data. Correct behavior: Subroutine ScreenUpdateTestFails() show a sheet with all the cells incorrectly showing populated when the MsgBox states: All the data is entered into the cells. The application will update the screen when you press OK to see the data. The only difference between the ScreenUpdateTestWorks() and ScreenUpdateTestFails() is that ScreenUpdateTestWorks() has the line MsgBox "All cells in this sheet should be empty." Expected Results: Both subroutines should show a sheet with all the cells look empty (as the screen is not updating) when the MsgBox states: All the data is entered into the cells. The application will update the screen when you press OK to see the data. Reproducible: Always User Profile Reset: No Additional Info: Attaching the ScreenUpdating.xls file in the next comment as unsure how to attach now. Thank you
Created attachment 180744 [details] ScreenUpdating.xls
On a device with a low powered CPU, the subroutine ScreenUpdateTestWorks() doesn't work either.
Confirm with Version: 7.4.0.0.beta1+ / LibreOffice Community Build ID: fe3be12afd810e17427601178b5d186364bef8de CPU threads: 4; OS: Linux 5.13; UI render: default; VCL: gtk3 Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US Calc: threaded Jumbo and in Version: Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)
*** This bug has been marked as a duplicate of bug 52603 ***