Report.Activate event (Access)

The Activate event occurs when a report receives the focus and becomes the active window.



expression A variable that represents a Report object.

Return value



To run a macro or event procedure when these events occur, set the OnActivate or OnDeactivate property to the name of the macro or to [Event Procedure].

You can make a report active by opening it, or by choosing it or a control on it.

The Activate event can occur only when a report is visible.

The Activate event occurs before the GotFocus event; the Deactivate event occurs after the LostFocus event.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.