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 Sub cmdButton_DblClick(Cancel As Integer)
On Error GoTo Err_cmdButton_DblClick
'Dimension the Variables
Dim xlApp As Excel.Application
Dim xlWkbk As Excel.Workbook
Dim xlSht As Excel.Worksheet
'Set the application
Set xlApp = New Excel.Application
'Make the Application Visible
xlApp.Visible = True
'Set the workbook and the filepath 'Change "C:\...\yourfileroot.xl" to your own filepath and Workbook name
Set xlWkbk = xlApp.Workbooks.Open("C:\...\yourfileroot.xls ")
'Set the worksheet that you want the workbook to open on
xlApp.Sheets("Your sheet").Select
'Turn everything off otherwise yo will have problems with your spreadsheet
Set xlApp = Nothing
Set xlWkbk = Nothing
Set xlSht = Nothing
Exit_cmdButton_DblClick:
Exit Sub
Err_cmdButton_DblClick:
MsgBox Err.Description
Resume Exit_cmdButton_DblClick
End Sub