The following code, which works in other macros, is causing a “Run-time error ‘1004’: Application-defined or object-defined error"
The debugger is highlighting row 2 -- the equivalent of a manual “end then up arrow” as the problem code. ?????????
- Cells(20000,1).Select
- Selection.End(x1Up).Select
- Let lastrow = Activecell.Row
The debugger is highlighting row 2 -- the equivalent of a manual “end then up arrow” as the problem code. ?????????