I'm trying to use some Excel objects in Access XP. My VB/VBA books tell me I can use the following declaration to dimension a Excel Object:
Dim xapp As Excel.Application
When I do, I get:
Compile Error: User-defined type not defined
When I go to the object browser, I cannot find the Excel Library. I'm pretty sure that since I can't see the Excel Object Lib, then I would get this error. Problem is, I am new to VBA (used to 'C' alot many years ago) and do not know how to instruct VBA in Access to include the Excel Object Lib
Any help is greatly appreciated.
Thanks
Dim xapp As Excel.Application
When I do, I get:
Compile Error: User-defined type not defined
When I go to the object browser, I cannot find the Excel Library. I'm pretty sure that since I can't see the Excel Object Lib, then I would get this error. Problem is, I am new to VBA (used to 'C' alot many years ago) and do not know how to instruct VBA in Access to include the Excel Object Lib
Any help is greatly appreciated.
Thanks