VBA code to read formular from another cell
Hello,
I am trying to do something and not sure if that is possible.
Say in Sheet1, CellA1, I have a comment '= IF(and(b1=c1, d1=e1), "Do This",
"Do That")
Question is how can I call the formula part in a vba to be paste in a
specified cell.
So say I run the macro in Sheet2, the macro should pick the formula =
IF(and(b1=c1, d1=e1), "Do This", "Do That") and paste in say Cell F1, then I
will want to copy the formula down to the last row.
The reason is that I can change the formula for other fields
Many thanks
Carl.
|