Error 1004 on VBA operation
Make sure the worksheet name is spelled exactly the same as the macro.
"N L" wrote:
Hello, folks. I'm getting an error : "Run-time error '1004':
Application-defined or object-defined error" when I get to the
following line:
Set ActualsActualsRange = ActiveWorkbook.Worksheets("Actuals-
Sheet").Range(Cells(5, 12), Cells(5, 500))
Any idea what's wrong with this? It looks like a properly-formed
range, and pretty explicitly referenced.
Thanks,
N L
|