VBA - Função String Reverse

A função StrReverse inverte a string especificada.

Sintaxe

StrReverse(string)

Exemplo

Adicione um botão e adicione a seguinte função.

Private Sub Constant_demo_Click()
   msgbox("Line 1 : " & StrReverse("VBSCRIPT"))
   msgbox("Line 2 : " & StrReverse("My First VBScript"))
   msgbox("Line 3 : " & StrReverse("123.45"))
End Sub

Quando você executa a função acima, ela produz a seguinte saída.

Line 1 : TPIRCSBV
Line 2 : tpircSBV tsriF yM
Line 3 : 54.321