Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
User Public Type, circular dependancy error
Hi,
In a module I have in declarations, Public Type uSx var names... end type In same module , general code, a function, uSx = uSxMakeF(arg, arg, ....) All was working well. I moved the uSx record definition to another module, "above" uRecA, whe Public Type uRecA other vars ... uSx as uSx end type I now get circular dependancies compile error pointing at the above function. uRecA is not involved in the function. What is the best practice module batting order that will get rid of this error ?? I had thought that as long as the "user" of public types was below, or in a module after the Public Type, that I would not get this error. Me experience had been that in the uRecA example, as long as other public types that it used were "above" it, the "find it to use it" requirement would be met. Thanks, -- Neal Z |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Forms-Compile error: user-def type not defined | Excel Programming | |||
#13 type mismatch error on user form for Dave Peterson | Excel Discussion (Misc queries) | |||
#13 type mismatch error on user form | Excel Programming | |||
Help: Compile error: type mismatch: array or user defined type expected | Excel Programming | |||
User-defined data type; Error: Only User-defined types... | Excel Programming |