How to insert "&" in a formula using VBA?
Tom's solution will load all the cells at once, adjusting the formula in
each one (well Excel does that bit).
It may not seem obvious, but try it and see.
--
HTH
Bob Phillips
(remove nothere from email address if mailing direct)
wrote in message
oups.com...
Thanks Tom.
But I am sorry, maybe I did not put it clearly.
Actually, what I want is like this:
Range("C1")="=BLP(A1&"" ""&B1, ""CLOSE_DATE"")"
Range("C2")="=BLP(A2&"" ""&B2, ""CLOSE_DATE"")"
...
Range("C10")="=BLP(A10&"" ""&B10, ""CLOSE_DATE"")"
I want to put them in a loop.
How to do this then?
Thanks.
|