When I googled about Trim, I found that it is an Excel function and also a VBA function.
In VBA with both cases it can be used only with one cell and need looping with a range of more than one cell. But, I found some web pages stating use of Application.Trim on a range without loop and indeed it works and very fast.
My question, how Trim used with Application, even undocumented and vba intellisense does not show TRIM after I type Application. And does this mean that WorksheetFunction. can be replaced by Application. to produce a different behavior?
Sub Trim_Issue()
Dim rng As Range
Set rng = ActiveSheet.Range("A2:A3")
rng = Application.Trim(rng) 'This works although I do not know how
rng = WorksheetFunction.Trim(rng) 'cause error as it need loop
End Sub