ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   macro written in Excel 2000 not working in Excel 2002 (https://www.excelbanter.com/excel-programming/275005-macro-written-excel-2000-not-working-excel-2002-a.html)

Ivan H.

macro written in Excel 2000 not working in Excel 2002
 
I have a macro that I wrote in Excel 2000 and when I try
to run it in Excel 2002, it brings up the debugger. The
message is:

'Compile error:

Wrong number of arguments or invalid property assignment'

What is highlighted is a call to Value(row, col),
specifically in Sheet1.Range(range).Value(row, col).

Any idea what's going on?


All times are GMT +1. The time now is 06:51 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com