Report.Activate Event (Access)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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

expression .Activate

expression A variable that represents a Report object.

Return Value

nothing

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 or report active by opening it, clicking 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.

Concepts

Other resources

Show: