Hi,
I have been given an excel workbook to check the macro coding and each time I run any of the macros I get an error
"Compile Error
Can't find project or library"
on a line such as
"ThisRow=2"
if I declare the variable with a Dim statement the macro will proceed until the next variable is used.
I presumed this error occcurred because Option Explicit was used, so I checked the project for it but cannot find it anywhere, I also made sure under Tools | Options | Editor in VBA that the option Require Variable Declaration is unchecked. Even closed Excel and re-started after doing this and it continues to complain.
I am running Excel 2000 under Windows XP.
Any one got any ideas how to fix this?
Thanks
George
I have been given an excel workbook to check the macro coding and each time I run any of the macros I get an error
"Compile Error
Can't find project or library"
on a line such as
"ThisRow=2"
if I declare the variable with a Dim statement the macro will proceed until the next variable is used.
I presumed this error occcurred because Option Explicit was used, so I checked the project for it but cannot find it anywhere, I also made sure under Tools | Options | Editor in VBA that the option Require Variable Declaration is unchecked. Even closed Excel and re-started after doing this and it continues to complain.
I am running Excel 2000 under Windows XP.
Any one got any ideas how to fix this?
Thanks
George