ChrW Function [VBA]
Returns the Unicode character that corresponds to the specified character code.
ChrW(wyrażenie As Integer)
String
Expression: Zmienne liczbowe reprezentujące poprawną 16-bitową wartość Unicode (0-65535). Pusta wartość zwraca kod błędu 5. Wartość poza zakresem [0,65535] zwraca kod błędu 6.
Sub ExampleChrW
' This example inserts the Greek letters alpha and omega in a string.
MsgBox "From "+ ChrW(913)+" to " + ChrW(937)
' Wynik pojawia się w oknie dialogowym jako: Od Α do Ω
End Sub