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.
Dim objXLApp As Excel.Application
Dim objXLBook As Excel.Workbook
Dim objXLSheet As Excel.Worksheet
Set objXLBook = GetObject("C:\somefile.xls")
Set objXLApp = objXLBook.Parent
Set objXLSheet = objXLBook.Worksheets("Sheet1")
objXLSheet.PageSetup.Orientation = xlLandscape
objXLSheet.PageSetup.CenterHeader = "My Worksheet"
objXLSheet.PageSetup.CenterFooter = "Page &P of &N"
set objXLSheet = Nothing
set objXLBook = Nothing
set objXLApp = Nothing