Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a public User defined type that i would like to use throughout my
code. I have put it in a module. However, when I have a class that contains a scripting.dictionary of these types return the Type in a function, I get the following error: "Only public user defined types defined in public object modules can be used as parameters or return types for public procedures of class modules or as fields of public user defined types" Then, when I try to put the public type definition in the class module, it complains: "Cannot define a Public user-defined type within an object module" What is going on? How can I get around this? It seems as though the errors are saying two contradictory things. Any help would be most appreciated. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel Message "user defined type not defined" | Excel Discussion (Misc queries) | |||
"User-defined type not defined" message in Excel | Excel Discussion (Misc queries) | |||
User Defined type not defined | Excel Programming | |||
User defined data type | Excel Programming | |||
Word.Document - user defined type not defined | Excel Programming |