Using Excel 2003 and trying to insert a formula into a cell but can't get the concatenation right in the VB Editor.
This is the formula I want to be inserted:
=IF(Sheet1!A1="","",Sheet1!A1)
My current code:
ActiveCell.Formula= _
"=IF(Sheet1'A1=," & "" & "," & "" & "," & "Sheet1!A1)"
Thanks.
This is the formula I want to be inserted:
=IF(Sheet1!A1="","",Sheet1!A1)
My current code:
ActiveCell.Formula= _
"=IF(Sheet1'A1=," & "" & "," & "" & "," & "Sheet1!A1)"
Thanks.