ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Enum in Excel 97 (https://www.excelbanter.com/excel-programming/278123-re-enum-excel-97-a.html)

Chip Pearson

Enum in Excel 97
 
Philip,

Enum types are not supported in Excel97. They are supported in Excel 2000
and later versions.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
www.cpearson.com


"Philip Mariconda" wrote in message
...
Excel 97 help and MSDN provide surprisingly little
information on the proper declaration of Enum constants.
It seems they need to be declared at module level and not
at procedure level.

However, when I type...

Public Enum iRegion

...just like an MSDN code example it's a syntax error.
Are Enum types only used in class modules?

Thanks!
Phil





All times are GMT +1. The time now is 07:24 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com