M
Martin Wheeler
xl2000
XL does not like the code below
"A" is rejected as an invalid qualifier.
Can someone please set me straight. I have read the Help section but it
does not make sense to me.
Ta,
Martin
Dim A As Single
A = Application.WorksheetFunction.Max(.Range("CA7:CA9"))
Set B = A.Offset(0, 6)
Set C = A.Offset(0, 5)
Set D = A.Offset(0, 8)
If A > 10 And B = .Range("CG32").Value And C < 20 And D < -0.395 Then
XL does not like the code below
"A" is rejected as an invalid qualifier.
Can someone please set me straight. I have read the Help section but it
does not make sense to me.
Ta,
Martin
Dim A As Single
A = Application.WorksheetFunction.Max(.Range("CA7:CA9"))
Set B = A.Offset(0, 6)
Set C = A.Offset(0, 5)
Set D = A.Offset(0, 8)
If A > 10 And B = .Range("CG32").Value And C < 20 And D < -0.395 Then