StrReverse Function [VBA]

Returns the string with the character order reversed.

warning

This constant, function or object is enabled with the statement Option VBASupport 1 placed before the executable program code in a module.


Sintaxe:


StrReverse (Text1 As String)

Valor de retorno:

String

ParĂĄmetros:

Text1: The string expression that you want to reverse the character order.

CĂłdigos de erro

5 Chamada de procedemento incorrecta

Exemplo:


Sub ExampleReverse
 Print StrReverse("ABCdefGH") ' return "HGfedCBA"
End Sub

Precisamos da sĂșa axuda!