I am new to VBA, I got a question on &
, What does the two &
do in this code below, can we delete the last one?
Range("H2").Formula = "=COUNTIF(H4:H" & WKB2.Range("F" &
Rows.Count).End(xlUp).Row & ",""AMB"")"
Some other code has only one &
but still working. for example:
ActiveSheet.Range("F5:F" & lastrow1 - 1).Formula = "=IF(C5>0,""CC"",""AMB"")"
what is the difference here.
Thanks in advance.