lezawang
Well-known Member
- Joined
- Mar 27, 2016
- Messages
- 1,805
- Office Version
- 2016
- Platform
- Windows
Hi
Trim (VBA function) is not working here. The output message I go is " hello ................ there"
Anything wrong with the code below? Thank you so much
Trim (VBA function) is not working here. The output message I go is " hello ................ there"
Anything wrong with the code below? Thank you so much
Code:
Sub mytrim()
Dim s As String
s = Trim(" hello there ")
MsgBox s
End Sub
Last edited: