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
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Perfect!! Thank all for helping.
You're welcome. Glad to help.
Open in new window