Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Ivan
Yes, I would have liked in this and many other situations to able to use Enum but I'm aware that many people still only have access to Excel 97 - like at my office. Other things missing in Excel 97 class modules which can be a nuisance at times in Office 97 class modules a * the inability to *raise* events * apply the AddressOf operator (although I'm familiar with the AddrOf workaround but can only refer to functions in standard modules) * create default properties (except through back door for Excel 2000+) * create VB Friend properties * create a private enumerator property (although one can simulate enumeration by creating an Items property which points to the hidden collection object) * create publicnotcreatable or even multiuse instances of class modules * create control arrays in a userform (although a clever workaround does exist) * use Implements for user defined interfaces I know some of these have been introduced in more recent versions. Pity also that the format for VBA UserForm and VB Form (with associated *.frx files) are different making conversions between the two tedious (conversion tools do exist though). (Ivan F Moala) wrote in message . com... Thanks Ian That's a good one to add to my collection. The only thing I added was to Enum, as I use Xl2000/xl2003 and I like to use intellisence ie. select the proporties values. Xl97 doesn't support Enum. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
(Jamie Collins) wrote in message . com...
(Robots) wrote ... apply the AddressOf operator (although I'm familiar with the AddrOf workaround but can only refer to functions in standard modules) You can't use AddressOf operator to refer to functions in class modules either. The reason is due to calling convention and COM etc but it's a fundamental issue. Think about it: which instance of the class would you expect e.g. the callback to apply to? Jamie. -- Thanks Jamie. I'll remember(?) that. I presume same thing apply to VB. |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
CLASS MODULE & SIMPLE MODULE | Excel Discussion (Misc queries) | |||
Chart Class Module/follow on question to hyperlink post earlier. | Charts and Charting in Excel | |||
ListBox Headings - customized! | Excel Programming | |||
(repost) Listbox Rowsource Headings Multi columns | Excel Programming | |||
Variable from a sheet module in a class module in XL XP | Excel Programming |