UsableWidth Property
Applies To
Application object.
Description
Returns the width (in points) of the space that can be used by a window in the application window area. Read-only Long.
Note The value of the UsableWidth property is valid only when the value of the UsableHeight property is greater than 1, which indicates that there's space available for a document window.
See Also
UsableHeight property.
Example
This example displays the height and width of the application window area.
vertSpace = Format(PointsToInches(Application.UsableHeight), "Fixed")
horizSpace = Format(PointsToInches(Application.UsableWidth), "Fixed")
MsgBox "Usable Height: " & vertSpace & " inches" & vbCr & _
"Usable Width: " & horizSpace & " inches"