- Код: Выделить всё
Option Explicit
Public Enum CoolEnum
[Cool value with spaces] = 1
[Hey, punctuation allowed!] = 7
[That's cool, isn't it?] = 10
[Apostrophe is a part of name, did you see that?] = 15
[And smiles too :) ] = 20
End Enum
Private Sub Form_Load()
Dim a As CoolEnum
'Ставьте после "a" "=" и наслаждайтесь
a
MsgBox a
End Sub