VBA StrReverse function

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)

StrReverse Function Description

The VBA StrReverse function returns a string which characters are in reverse order.


The syntax for the StrReverse function in VBA is:

StrReverse( text )


The string which characters are to be reversed.

Example usage

The StrReverse function can be used in VBA code. Let’s look at some VBA StrReverse function examples:

StrReverse "Hello World!"
'Result: "!dlroW olleH"

StrReverse "12345"
'Result: "54321"

Simply the best place to learn Excel VBA