Need a second pair of eyes this morning.
Why am I getting a 91 with this code?
The public sub CreateEmptyZip works fine (creates empty zip file), but then stepping through I get an error 91 on the With statement. I'm new to all this.
Why am I getting a 91 with this code?
The public sub CreateEmptyZip works fine (creates empty zip file), but then stepping through I get an error 91 on the With statement. I'm new to all this.
Code:
CreateEmptyZip zippath
Dim ZipApp As Object
Set ZipApp = CreateObject("Shell.Application")
With ZipApp
.Namespace(zippath).CopyHere (strpath)
End With
End If
End Sub