Output to Excel - EM: Microsoft Office Access Can't Start OLE Ser

  • Thread starter Creating Outlook appointment
  • Start date
C

Creating Outlook appointment

I have a macro that contains the Output To command. The command is supposed
to start the Excel application after the Output To action runs. The
parameters for this command include:
1. Object Type - Query
2. Object Name - < query name >
3. Object Format -Microsoft Excel 97-2003 (*.xls)
4. Object File - C:\Report
5. Autostart - Yes

When I ran this macro, I received an error message stating that Microsoft
Office Access Can't Start OLE Server. Our Field Support team attempted to
re-install Microsoft Office/XP to make sure we capture all the components
required by the interface between Access and Excel. Still this approach did
not work. I would appreciate any other ideas that would help us resolve this
issue. I tried the Access Knowledge Base but did not get any satisfactory
results.
 
K

Kernow Girl

Hi - 2 things i found when using OutputTo --- must have .xls extension on
file name - so must be Report.xls, and not to use c:\ as is often Read Only
or is limited in some way if working on a network. I create a XLS folder and
put them all there. Works fine and loads Excel afterwards with no problem.
HTH --- Dika
 
C

Creating Outlook appointment

Thanks for the tip. It worked for me.

Kernow Girl said:
Hi - 2 things i found when using OutputTo --- must have .xls extension on
file name - so must be Report.xls, and not to use c:\ as is often Read Only
or is limited in some way if working on a network. I create a XLS folder and
put them all there. Works fine and loads Excel afterwards with no problem.
HTH --- Dika
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top