Hi All
I am trying to use the TRIM function in VBA but am struggling!
The code which works in excel is:
=TRIM(RIGHT(SUBSTITUTE(N2,"-",REPT(" ",100)),100))
when I try to use the same in VBA, I get a compile error: expected end of statement
I assume that this is because of the " within the...