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 ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / March 2008

Tip: Looking for answers? Try searching our database.

Access 2007/XP - Excel 2007/XP

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ITperson - 28 Mar 2008 21:37 GMT
Hello

I have an access application (XP) that I run.  Part of this app creates an
XL workbook and puts the results of a query into it, then formats it all (XL
XP).

I have a couple users that have Access 2007 on their machines and they
maintain the Program Files\Microsoft Office\Office 10 folder (XP).  This has
both Access And Excel in it.

The problem is that when the end user runs my code from their Access XP, it
tries to write to Excel 2007 instead of XP.  I get some error saying that it
is not a macro type of file.

Is there anything I can code in Access to tell it to use Excel XP to create
the workbook, put the info into it etc; instead of their default 2007?

Upgrading all users to 2007 is not an option, the application will only run
on Office XP

Thank you
Terry
Alex Dybenko - 29 Mar 2008 08:59 GMT
Hi,
you can try 2 options
- let it create workbook in excel 2007 and then save it in XP (xls) format
- try to get object reference to excel XP as
CreateObject("Excel.Application.10")

Signature

Best regards,
___________
Alex Dybenko (MVP)
http://accessblog.net
http://www.PointLtd.com

> Hello
>
[quoted text clipped - 24 lines]
> Thank you
> Terry
 
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



©2008 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.