Excel VBA - What Library Can I Reference (Tools/References) To Use ExifTool

Started by wraybp, May 14, 2023, 06:03:54 PM

Previous topic - Next topic

wraybp

I cannot find a library that I can reference in the Tools/References section in Excel VBA.  Sample code I have seen has is as follows:

'Reference the ExifTool library
Dim objExifTool As New ExifTool

'Set the path to the ExifTool executable
objExifTool.ExifToolPath = "C:\Program Files\ExifTool\exiftool.exe"


The reference for this code is the Microsoft scripting runtime library.  However the reference to "ExifTool" doesn't show up in the list under Tools/References, so it throws an error.

Can anyone advise?

StarGeek

Sorry, no idea. You might look at the Programming links on the main page.  There are a couple of VBA links there.  I checked a few and nothing looked like a library, but I don't know enough about VBA to be sure.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype