ExifTool Forum

ExifTool => Developers => Topic started by: wraybp on May 14, 2023, 06:03:54 PM

Title: Excel VBA - What Library Can I Reference (Tools/References) To Use ExifTool
Post by: wraybp on May 14, 2023, 06:03:54 PM
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?
Title: Re: Excel VBA - What Library Can I Reference (Tools/References) To Use ExifTool
Post by: StarGeek on May 17, 2023, 12:53:37 PM
Sorry, no idea. You might look at the Programming (https://exiftool.org/#related_prog) 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.