Results 1 to 10 of 10

Thread: getdetailsof - method or data member not found

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    VBAX Newbie
    Joined
    Feb 2024
    Posts
    4
    Location

    getdetailsof - method or data member not found

    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!!!
    Last edited by Aussiebear; 05-16-2025 at 04:00 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •