Can't get past Line 3 of code
Thanks Andrew;
I was stepping through the code (F8) while my Sheet2 was the
activesheet.
Cause (after your reply..
When I retested it and it worked << Cause My Sheet1 was then active <<
Must keep this in mind in the future
Why does the Activesheet matter?
"Andrew Taylor" wrote in message
oups.com:
It works for me - what's the error?
Jim May wrote:
Can someone point out my fault in line 3?
TIA,
Sub tester()
Set srng = Worksheets("Sheet1").Range("A1").CurrentRegion ' Covers
Range A1:C10
srng.Offset(1, 0).Resize(srng.Rows.Count - 1, 3).Select << error
.... In Progress
Set drng = Worksheets("Sheet2").Range("A2")
End Sub
|