Application.Screen Property

Access Developer Reference

You can 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.

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