Skip to content
TheChatArchiveThe Chat Archive
gpt-3.5-turbo-0301· OpenAIAi2 WildChat-4.8M (AI2)

What is the vba code to enable events and allso to disable events

  1. User

    What is the vba code to enable events and allso to disable events

  2. Assistant

    To enable events in VBA, use the following code:

    Application.EnableEvents = True
    

    To disable events in VBA, use the following code:

    Application.EnableEvents = False