convert formula to vba
What moon gave you will work but it seems easier to use:
ActiveSheet.Cells(2,1).Formula = "=CONCATENATE(""Text"",C2)"
"tony wong" wrote:
i put this formula to vba
=CONCATENATE("Text", C2)
VBA
Cells(2, 1).Formula = "=CONCATENATE("Text", C2)"
how to deal with the double quote with text? thanks a lot.
tony
|