I'm loading a library that enables me to send emails through the macros that I'm running. I use this email function mainly for error trapping.
I know that the Application.RegisterXLL method will retun a True if the library was loaded properly and a False if the library was not loaded. I need to know how to get the Application.RegisterXLL method to return this value so I can store it in a variable.
Here's the line I'm using to load the library:
Application.RegisterXLL Filename:="C:\WINDOWS\system32\cdosys.dll"
Any help would be awesome!