StrConv function

Category: String / Text

Summary

String conversions (e.g., proper case).

Syntax

Returns a Variant (String) converted as specified.

Example

Example
This example uses the StrConv function to convert a Unicode string to an ANSI string.
Dim i As Long
Dim x() As Byte
x = StrConv("ABCDEFG", vbFromUnicode) ' Convert string.
For i = 0 To UBound(x)
Debug.Print x(i)
Next

Microsoft Support Page

https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/strconv-function

Back to Functions