Error resulting from coding
Ok, while waiting I consulted my Excel 2002 VBA Prog Ref and see
that the following is required, still uncertain why, but
Range("TestRange").Resize(5,3).Name = "TestRange" ' This works!!
"Jim May" wrote in message
news:ND%Ad.15517$jn.4876@lakeread06...
In a new wb and ws:
In the Immediate Window I enter:
range("A1:A10").Name = "TestRange"
? Range("TestRange").address
$A$1:$A$10 <<< results of above line
Range("TestRange").Resize(5,3) As Range << When I enter this I get
Compile error:
Expected: End of Statement
Why?
|