439ZN‖

6dxWE‖StrReverse Function [VBA]

HnA2J‖Returns the string with the character order reversed.

warning

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


FVEx2‖Syntax:


VwDxG‖StrReverse (Text1 As String)

bBBqF‖Return type:

String

WADQ4‖Parameters:

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

SEjHR‖Error codes:

5 Invalid procedure call

EFSA4‖Example:


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