In the VBA code check the Lib attribute in the Declare statement. Is the full path to the EPlusWth.dll specified (? Lib â??C:\EnergyPllusV8-1-0\PreProcess\WeatherConverter\EPlusWth.dllâ??) or does it have just ? Lib â??EplusWth.dllâ???â?¦
If the declare statement is just ?Lib â??EPlusWth.dllâ??ââ?¦ then the EPlusWth.dll must be in the search path used to find shared dlls. My guess is that the C:\EnergyPlusV8-1-0\PreProcess\WeatherConverter folder is not in the search path.
If you include the entire path in the ?Lib statement that may fix the pproblem.
I am using VBA code to try to automate the weather utility application using EPlusWth.dll. My VBA code is giving an error that the .dll file in not there. I've read the and tried the sample code provided in the help documentation, but it does not work. If anyone has experience with VBA coding and the weather utility, any help would be appreciated.