Hi
I have formula that works in excel but doesn't work in vba.
Formula: =A2 & " - " &D2
VBA:
With .Range("AC2:AC" & lr)[FONT="] .Formula = "=A2 & " - " &D2"[/FONT]
[FONT="] .Value = .Value[/FONT]
[FONT="] End With
It gives me error - Run Time Error, Type Mismatch
Please help how to fix
Regards
Bill[/FONT]
I have formula that works in excel but doesn't work in vba.
Formula: =A2 & " - " &D2
VBA:
With .Range("AC2:AC" & lr)[FONT="] .Formula = "=A2 & " - " &D2"[/FONT]
[FONT="] .Value = .Value[/FONT]
[FONT="] End With
It gives me error - Run Time Error, Type Mismatch
Please help how to fix
Regards
Bill[/FONT]