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.
Option Explicit
Sub test()
Dim oWorkbook As Workbook
On Error Resume Next
Set oWorkbook = Workbooks("a.xls")
If oWorkbook Is Nothing Then
MsgBox "Workbook a.xls is NOT open"
Else
MsgBox "Workbook a.xls IS OPEN"
End If
Set oWorkbook = Nothing
End Sub