Answers for "vba remove space in cell"

VBA
0

vba remove spaces

Dim s As String
s = "  abc  "
Debug.Print "|" & LTrim(s) & "|"         ' |abc  |
Debug.Print "|" & RTrim(s) & "|"         ' |  abc|
Debug.Print "|" & Trim(s) & "|"          ' |abc|
Posted by: Guest on February-13-2021

Code answers related to "vba remove space in cell"

Code answers related to "VBA"

Browse Popular Code Answers by Language