johnaregan
Programmer
- Mar 13, 2001
- 87
How do you test if an object exists?
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 objW as object
Dim lngErr as long
On Error Resume Next
Set objW = CreateObject("scripting.FileSystemObject")
lngErr = Err.Number
On error goto 0
if LngErr <> 0 then
... object is not registered
End if