Application.Screen property (Access)

Use the Screen property to return a reference the Screen object and its related properties. Read-only.

Syntax

expression.Screen

expression A variable that represents an Application object.

Remarks

Use the Screen object to refer to a particular form, report, or control that has the focus.

Example

The following example demonstrates how to change the cursor to an hourglass and back again to signify that some background activity is occurring.

Application.Screen.MousePointer = 11 ' Hourglass' Do some background activity.Application.Screen.MousePointer = 0 ' Back to normal

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.