Under the code error, but can't find the reason, big help, genuflect is begged not appreciate
CodePudding user response:
Shell. The Application object of the NameSpace () function, Role is "create Folder object and returns the specified Folder,"
And your incoming parameters myZipFile is a "file", not "folder"! Then it returns the result should be Null, You behind reoccupy ObjSource to call its interface function, will go wrong, of course,
In addition: CSV format file, it is no compression? Generally XLSX, docx Office documents, such as is compressed with zip format