Hi all
I have an extract from a something i'm working on
here is the code extract
All i want to do is define the range for f3 to be for those two values only, not the full range between them
but it will not accept it.
i've tried a few different ways
below was a little test i was doing
ss works as it should
gh doesn't , no matter what i do
I'm sure i've missed something small, i'm new to VBA
Any help always appreciated
Cheers
J
I have an extract from a something i'm working on
here is the code extract
Code:
Set f1 = Range(ActiveCell.Offset(0, 1), ActiveCell.Offset(0, 2))
Set f2 = Range(ActiveCell.Offset(0, 3), ActiveCell.Offset(0, 4))
Set f3 = Range("ActiveCell.Offset(0, 3), ActiveCell.Offset(0, 5)")
All i want to do is define the range for f3 to be for those two values only, not the full range between them
but it will not accept it.
i've tried a few different ways
below was a little test i was doing
Code:
Set ss = Range("A1, A3")
y = Range("A1").Address
y2 = Range("A3").Address
Set gh = Range("y, y2")
ss works as it should
gh doesn't , no matter what i do
I'm sure i've missed something small, i'm new to VBA
Any help always appreciated
Cheers
J