Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Private Declare Function GetSystemMetrics Lib "user32" (ByVal nIndex As Long) As Long
Private Const SM_CXSCREEN = 0 'Screen width
Private Const SM_CYSCREEN = 1 'Screen height
Private Sub Workbook_Open()
Application.WindowState = xlNormal
Application.Height = Get_Screen_Height
Application.Width = Get_Screen_Width
Application.Top = 0
Application.Left = 0
End Sub
Public Function Get_Screen_Width() As Long
Get_Screen_Width = GetSystemMetrics(SM_CXSCREEN)
End Function
Public Function Get_Screen_Height() As Long
Get_Screen_Height = GetSystemMetrics(SM_CYSCREEN)
End Function