VBA: Date/Time function reference
Posted by Jason Ramirez on January 16, 2002 9:24 AM
I did some VBA development to an Excel 97 workbook. I created an install package (setup.exe) making sure to include any DLL/OCX dependencies created by my VBA code and the execution of the installation package happens smoothly on a guinea-pig machine.
However when it gets to the following code, it bombs:
Dim strTime as String
Dim strDate as String
strTime = Time 'bombs here
strDate = Date 'bombs here too
It tells me "Compile Error: can't find object or library".
Anyone know what reference I need to have checked for this to work correctly, or have any idea why its telling me this?
Thanks,
Jason