I have two range statements:
Set s1 = Sheets("Key").Range("A7:A28")
Set s1 = Sheets("Key").Range(Cells(7, 1), Cells(28, 1)
The first statement works whether the sheet "Key" is active or not. The second statement only works when "Key" is active
The second statement results in a run-time error '1004': Application defined or object defined error
What is the correct way of setting a range using row/column syntax?