peispud
asked on
Set a range to another worksheet using R1C1 format
Hi.
I am having problems getting this right. Thank you for your help.
I am having problems getting this right. Thank you for your help.
Dim ws As Worksheet: Set ws = Worksheets("MySheet")
Dim CCC As Range
Set CCC = Range(Cells(1, 1), Cells(1, 7)) ' Seems OK
Set CCC = Range(ws.Cells(1, 1), ws.Cells(1, 7)) ' Computer gets angry
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Perfect!! Thank all for helping.
You're welcome. Glad to help.
Open in new window