Why does executing code containing 'Application. ScreenUpdating=false' in a workbook (including VBA) cause Dropdownlists in other worksheets to lose focus?

Anonymous
2024-10-15T04:03:25.27+00:00

After upgrading from Office to Microsoft 365 (2402), I executed a function with the code "Application. ScreenUpdating=false" in workbook A containing VBA, which finally executed "Application. ScreenUpdating=true".

Found another dropdown list in Excel document B that cannot be focused properly. As follows:

NG2

The above issue does not exist in versions such as Office 2019, and if the "Application. ScreenUpdating=false" in workbook A is changed to "Application. ScreenUpdating=true", it will not cause the dropdown list in worksheet B to lose focus.

Please explain why this phenomenon occurs and whether it is a bug in Microsoft 365 (2402)?

Microsoft 365 and Office Development Other
Microsoft 365 and Office Install, redeem, activate For business Windows
Microsoft Teams Microsoft Teams for business Other
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-10-16T08:54:32.74+00:00

    add comment.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.