How to get EXIF information, such as Latitude, Longitude, etc., from a form drawing on an Excel worksheet using VBA? And is it possible to get it without extracting or copying an image from a worksheet or from a stuck Excel workbook?
I can iterate through the contents of the zipped folder using the following code.
Public Sub ReadZip()
Dim vZipFileName As Variant
vZipFileName = "C:\Users\erogrou\Desktop\Test.zip"
Dim objShell, objFolder
Set objShell = CreateObject("shell.application")
Set objFolder = objShell.Namespace(vZipFileName)
Dim vFilename As Variant
If (Not objFolder Is Nothing) Then
Debug.Print objFolder.self.Path
For Each vFilename In objFolder.items
Debug.Print vFilename
Next
End If
Set objFolder = Nothing
Set objShell = Nothing
End Sub
source
share