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 xl As New Excel.Application
Dim xlwb As New Excel.Workbook
Dim xlws As New Excel.Worksheet
Set xl = New Excel.Application
Set xlwb = xl.Workbooks.Add
Set xlws = xlwb.Worksheets.Add
xlws.PageSetup.Orientation = xlPortrait (or xlLandscape)
xlws.PageSetup.PrintTitleColumns = "$A:$K"
xlws.PageSetup.PrintTitleRows = "$1:$4
xlws.PageSetup.PrintArea = "" ' print whole worksheet
xlws.PageSetup.PaperSize = (select one from displayed list)