Nested VB (VBA) Enumeration
问题 Ok guys, well i'd like to achieve an effect of nested enumeration for easy grouping some constant strings. Something like the pseudo code bellow: Enum gKS Colby = "Hello" Hays = "World" end Enum Enum gMA Dodge = "Seven" Muscatine = "Ports" end Enum Enum gCountry north as gMA south as gKS end Enum Public USA as gCountry So the code bellow should output a " Seven " message: sub dol() msgbox USA.north.Dodge end sub I don't want use types or classes because no initialisation is needed since all