I'm trying to use a template in visual basic to ask for user input, then lookup that value in an excel spreadsheet, and enter the corresponding value into the template.
I am receiving th error - "User defined type not defined" and the Dim x As Range line is highlighted.
I have a feeling it is because Outlook VBA doesn't have access to the excel Range library.
I've tried to go to tools -> references but there is not option for that in VBA, can anyone show me how to do it programatically?
Please Login or Register to view this content.
Bookmarks