Article ID: 106719
Article Last Modified on 6/11/2007
Sub statusbarheight()
'Declares the Variables as Integers
Dim Nostatusbar as Integer
Dim Withstatusbar as Integer
Dim StatusHeight as Integer
Application.DisplayStatusBar = False 'Turns status off
nostatusbar = Application.UsableHeight 'finds height without
'status bar
Application.DisplayStatusBar = True 'Turns the status bar on
withstatusbar = Application.UsableHeight 'Finds height with
'status bar on
statusheight = nostatusbar - withstatusbar 'Determines the
'difference
MsgBox ("The height of the status bar in points is " & statusheight)
End Sub
Additional query words: 8.00 xl97 Get.workspace(13) Get.Workspace(14) XL
Keywords: kbprogramming KB106719