Hi all
I can provide the code if necessary, but this issue is really confusing me, and seems to be more to do with the differences between how excel 2007 saves files.
I have written a dozen macros in VBA (Excel 2003) and recently upgraded to 2007. When in run the macros
in 2007, they run fine.
HOWEVER - when someone who is still on Excel 2003 uses the files after me, they get error messages, even though the code was written for 2003, and is completely unchanged.
Compile Error : Cant Find Project or Library
the Debugger then highlights the following line of code
Dim currentDate as Date
currentDate = Date (the Date section is where I am getting the error)
That line of code works in Excel 2003, if the file has not been saved by Excel 2007.
Anyone have any ideas?
At this I am considering downgrading my Excel back to 2003 version.
Any help would be appreciated
Thanks & Regards
Patrick
I can provide the code if necessary, but this issue is really confusing me, and seems to be more to do with the differences between how excel 2007 saves files.
I have written a dozen macros in VBA (Excel 2003) and recently upgraded to 2007. When in run the macros
in 2007, they run fine.
HOWEVER - when someone who is still on Excel 2003 uses the files after me, they get error messages, even though the code was written for 2003, and is completely unchanged.
Compile Error : Cant Find Project or Library
the Debugger then highlights the following line of code
Dim currentDate as Date
currentDate = Date (the Date section is where I am getting the error)
That line of code works in Excel 2003, if the file has not been saved by Excel 2007.
Anyone have any ideas?
At this I am considering downgrading my Excel back to 2003 version.
Any help would be appreciated
Thanks & Regards
Patrick