I am trying to find the contents of a zip file. I found this code on the forum but it only finds the first layer of the structure and not the folders sub folders and their contents.
Thanks
Code:
Dim shApp As Shell32.Shell
Dim shFolder As Shell32.Folder, shFolder2 As Shell32.Folder
Dim shFolderItem As Shell32.FolderItem, shFolderItem2 As Shell32.FolderItem
Set shApp = New Shell32.Shell
Set shFolder = shApp.NameSpace("FolderPath")
Set shFolderItem = shFolder.ParseName("Filename.zip")
Set shFolder2 = shFolderItem.GetFolder
For Each shFolderItem2 In shFolder2.Items
Debug.Print shFolderItem2.Name
Next shFolderItem2
Thanks