What is the difference between trim
and trim$
in vba? Accidentally today when I used left and trim functions in vba, The compiler said cant find project or library
When I googled it ,On one of the forum I found the user using like these
vba.trim("string")
He answered to prefix with vba for the functions. and surprisingly it worked on my pc too.But I found these functions
trim and trim$
left and left$
leftb and leftb$
I was wondering what is trim and trim$. I wanted to find the difference So I started to google it but the results are for trim ignoring the $ alphabet.
I'm just curious to know about it.I was suspecting that trim is vba function and trim$ is excel sheet function. But we have Application.worksheetfunction
to use excel functions right?Could anyone differentiate trim and trim$.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…