I think that Regular Expressions are useful in this case.
In Visual Basic, Tools menu, make sure that there is a reference to "Microsoft VBScript Regular Expressions 5.5".
Check an example:
Dim example As String
example = Chr(&HA0) & "15001000" & Chr(&HA0) & Chr(&HA0)
Dim re As New RegExp
re.Pattern = "^[\s\u00A0]+|[\s\u00A0]+$"
re.Global = True
Dim result As String
result = re.Replace(example, "")
You can add more characters to be trimmed.