Does anyone know why this occurs?
I need to use characters from the " Wingdings 3 " font in Labels dynamically created in a VBA
If these Labels are created directly on the form the problem does not occur, for example, when creating a Label and copying the desired character in your Caption and selecting the " Wingdings 3 ", the Label displays the character correctly, however, when using Chr (131) in the code for the Caption of another Label , something like the Chr (156) character of the same font appears. (Instead of a full left arrow, a small, fine right arrow appears.)
The code below lists some characters from this font, and it is clear that they differ totally from the ASCII characters of Excel accessed by Menu: Insert / Symbols / / strong>.
Can you solve this or am I 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