V
vsingler
We have an Excel macro that was written several versions of Excel back (by
someone who is no longer with the company) which is now showing a runtime
error - Method 'Cells" of Object'_Global Failed when run by Excel 2003. The
line in the code that creates the error is written as Cells.(1, 1).Select. At
first the code failed in Excel 2002 as well, but I created a new module and
copied the code in from a working clone of the workbook (after removing the
old module) and it seemed to correct the problem. When I returned the file to
the Excel 2003 user, it failed.
I'm anticipating seeing this failure come up in the future as we continued
to update to 2003 and eventually 2007. I would appreciate any guidance as to
whether the syntax of the Cells.(1, 1).Select line should be changed (and to
what), or what else I should be looking at to correct the problem.
Thank you, in advance, for any help you can provide.
someone who is no longer with the company) which is now showing a runtime
error - Method 'Cells" of Object'_Global Failed when run by Excel 2003. The
line in the code that creates the error is written as Cells.(1, 1).Select. At
first the code failed in Excel 2002 as well, but I created a new module and
copied the code in from a working clone of the workbook (after removing the
old module) and it seemed to correct the problem. When I returned the file to
the Excel 2003 user, it failed.
I'm anticipating seeing this failure come up in the future as we continued
to update to 2003 and eventually 2007. I would appreciate any guidance as to
whether the syntax of the Cells.(1, 1).Select line should be changed (and to
what), or what else I should be looking at to correct the problem.
Thank you, in advance, for any help you can provide.