Guys
I would like your support on how to retrieve all TAG metadata from files that are saved on some folder including its subfolders.
The idea is list all Tag Metadata as unique values in a txt file. Unique because it can be repeatable due the loop will check on different files.
Below an example using Shell to "access" the file properties.
I would like your support on how to retrieve all TAG metadata from files that are saved on some folder including its subfolders.
The idea is list all Tag Metadata as unique values in a txt file. Unique because it can be repeatable due the loop will check on different files.
Below an example using Shell to "access" the file properties.
Code:
Sub DebugTagMetadata()
'Dim vrFile As Variant
Dim vrFile As Variant
Dim objShell: Set objShell = CreateObject("Shell.Application")
Dim objDirectory: Set objDirectory = objShell.Namespace("C:\MY FOLDER\")
For Each vrFile In objDirectory.Items
If Len(Trim(objDirectory.GetDetailsOf(vrFile, 18))) > 0 Then
Debug.Print objDirectory.GetDetailsOf(vrFile, 18)
Else
End If
Next