Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 1 / August 2007

Tip: Looking for answers? Try searching our database.

Creating Excel sheet by using XPAPIs dll without office installed at server

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
anilkumarup@gmail.com - 16 Aug 2007 11:53 GMT
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
Peter Sutton - 18 Aug 2007 07:45 GMT
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

>Code--
>
[quoted text clipped - 9 lines]
>Thanks
>Anil
RoyVidar - 18 Aug 2007 08:47 GMT
> Code--
>
[quoted text clipped - 9 lines]
> Thanks
> Anil

I don't *think* it is possible to automate Excel without Excel being
installed on the computer, but I think you're more likely to get
a reply to your question in a NG related to the technology you're
using. It seems you're using some .Net stuff. This is an NG dedicatet
to Microsof Access.

Signature

Roy-Vidar

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.