1
Does anyone know why this occurs?
I need to use font characters "Wingdings 3" in Labels dynamically created in a form of VBA.
If these Labels are created directly in the form the problem does not occur, for example when creating a Label and copy the desired character in your Caption and selecting the source "Wingdings 3", the Label presents the character correctly, however, when using Chr(131) in the code for another’s Caption Label, something like the character appears Chr(156) from the same source (instead of appearing a full arrow to the left, appears a small and thin arrow to the right).
The code below lists some characters from this font, and it is clear that they differ totally from the characters ASCII of Excel accessed by Menu: Insert/Symbols/Symbol.
Got a way to fix it or I’m doing something wrong?
Dim i As Integer
Dim str As String
str = ""
For i = 33 To 255
str = str & Chr(i)
Next i
Label1.Width = 500
Label1.Height = 500
Label1.Font.Name = "Wingdings 3"
Label1.Caption = str
Above 127 is no longer ASCII, and now depends on knowing the encoding used by the interface you are using.
– Bacco