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$.