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 fso, spreadsheet
spreadsheet = "C:\users\x\documents\yyy.xlsx"
set fso = CreateObject("Scripting.FileSystemObject")
if (fso.FileExists(spreadsheet) Then
WScript.Echo("File exists!")
else
WScript.Echo("create spreadsheet")
...
end if
' Do something with the spreadsheet
Set objXL = CreateObject("Excel.Application")
Set db = CurrentDb
[highlight #FCE94F]If objXL.FileExists(Out_File) Then[/highlight]
Set objWkb = .Workbooks.Open(Out_File)
Else
Set objWkb = .Workbooks.Add
With objWkb
.SaveAs Out_File, 51
End With
End If