Hello,

I have the following code:

Sub TestGetDetailsOf()
    Dim FSO As Scripting.FileSystemObject
    Dim SourceFolder As Scripting.folder
    Dim FileItem As Scripting.File
    Dim DateTaken As Variant
    
    Set FSO = New Scripting.FileSystemObject
    Set SourceFolder = FSO.GetFolder("C:\Temp")
    
    For Each FileItem In SourceFolder.Files
 
        
        DateTaken = SourceFolder.GetDetailsOf(FileItem, 25)
        Debug.Print FileItem.Name & " - Date Taken: " & DateTaken
    Next FileItem
End Sub

I get because of getdetailsof the following error : method or data member not found

In references I have the following : 0001.JPG


I don't know what I should change / update. Does anyone know what could be the solution?

Thanks!!!