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 AddToExcel()
Dim xlApp As Excel.Application
Dim xlWB1 As Excel.Workbook
xlApp = New Excel.Application
xlApp.Visible = False
xlWB1 = xlApp.Workbooks.Open("C:\myfile.xls")
With CType(xlWB1.ActiveSheet, Excel.Worksheet)
.Range("A1").Value = "....."
.Range("A2").Value = "....."
End With
xlApp.Visible = True
xlApp.ActiveWorkbook.Close(True)
xlApp = Nothing
End Sub