Barkingdoggy
New Member
- Joined
- Jun 21, 2011
- Messages
- 5
Windows 7, Excel 2007 workbook with multiple sheets. VBA script is throwing a Runtime Error 1004, "Application-defined or object-defined error." The line in question is:
Using an "equivalent" statement, however, works fine.
What am I missing? I want to select cells by row and column variables in this script.
Thanks!
Code:
Sheets("Lunches").Range(Cells(8, 26)).Select
Using an "equivalent" statement, however, works fine.
Code:
Sheets("Lunches").Range("z8").Select
Thanks!