- Joined
- Aug 5, 2024
- Messages
- 1
- Reaction score
- 0
Forum,
I'm getting a 'Compile error: User-defined type not defined' when attempting to run a macro. The 'Dim aem As Map' and followed by:
Create the analysis element map
Set aem = createAnalysisElementMap
This line is where the compile error occurs
Function createAnalysisElementMap(outlineLvl As Long) As Map
Should I define the Dim aem something other than map? Or could this be a reference issue? I can attach the module - wanted to ask first.
Cheers,
Cole
I'm getting a 'Compile error: User-defined type not defined' when attempting to run a macro. The 'Dim aem As Map' and followed by:
Create the analysis element map
Set aem = createAnalysisElementMap
This line is where the compile error occurs
Function createAnalysisElementMap(outlineLvl As Long) As Map
Should I define the Dim aem something other than map? Or could this be a reference issue? I can attach the module - wanted to ask first.
Cheers,
Cole