You need to set a reference to MS Excel in Access by opening
a code module and selecting Tools | References first.
What is the error message? Something like variable not defined?
Code should be something like
dim objExcle as object
Set objExcel = New Excel.Application
On Thu, 16 Aug 2007 03:53:25 -0700,
an*********@gmail.com wrote:
>Code--
objExcel = New Excel.Application
Error/Exception-- I have included all the apis
microsoft.office.interop.excel etc in bin
but it is not able to make object of excel class.
Please suggest, is it possible to create an excel sheet using above
COM objects, without MS Office installed.
Thanks
Anil