Συνάρτηση ChrW [VBA]
Επιστρέφει τον χαρακτήρα Unicode που αντιστοιχεί στον καθορισμένο κωδικό χαρακτήρα.
ChrW(Expression As Integer)
Συμβολοσειρά
Expression: Numeric variables that represent a valid 16 bit Unicode value (0-65535). (To support expressions with a nominally negative argument like ChrW(&H8000) in a backwards-compatible way, values in the range −32768 to −1 are internally mapped to the range 32768 to 65535.) An empty value returns error code 5. A value out of the range [0,65535] returns error code 6.
Sub ExampleChrW
' Αυτό το παράδειγμα εισάγει τα ελληνικά γράμματα άλφα και ωμέγα σε συμβολοσειρά.
Πλαίσιο μηνύματος "Από" + ChrW(913)+" έως " + ChrW(937)
' Η έξοδος εμφανίζεται στον διάλογο ως: Από Α έως Ω.
End Sub