La funzione VBA LTRIM restituisce una stringa dopo aver rimosso gli spazi dalla sinistra della stringa.
LTrim(testo)
Taglia gli spazi solo sul lato sinistro della linea:
Sub LTrimExample()
MsgBox LTrim(" test") 'Restituisce: "test"
MsgBox LTrim("test ") 'Restituisce: "test "
MsgBox LTrim(" test ") 'Restituisce: "test "
MsgBox LTrim(" test test ") 'Restituisce: "test test "
End Sub