I just wanted to submit this solution out here so in case someone runs into the same error they will know how to fix it.
I have a module that sends emails out of Outlook based on information that is pulled into Access via an Excel worksheet. When I went from Access 2003 to Access 2010 I was getting the error: "Compile error: User-defined type not defined" when trying to run that particular module.
I found the solution online and I just wanted to pass it along.
To fix this error you will need to:
1) Open the Module
2) Go to Tools> References
3) Select Microsoft Outlook xxx Object Library
Save module.
I have a module that sends emails out of Outlook based on information that is pulled into Access via an Excel worksheet. When I went from Access 2003 to Access 2010 I was getting the error: "Compile error: User-defined type not defined" when trying to run that particular module.
I found the solution online and I just wanted to pass it along.
To fix this error you will need to:
1) Open the Module
2) Go to Tools> References
3) Select Microsoft Outlook xxx Object Library
Save module.