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.



expression   A variable that represents an Application object.


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


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