ExcelBanter

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

Rob Bovey

Enum in Excel 97
 
Hi Philip,

Enums weren't supported at all in Excel 97 VBA. They first appeared in
Excel 2000.

--
Rob Bovey, MCSE, MCSD, Excel MVP
Application Professionals
http://www.appspro.com/

* Please post all replies to this newsgroup *
* I delete all unsolicited e-mail responses *


"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 01:40 AM.

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