OutputTo Excel not working in MDE version

mbentley

Registered User.
Local time
Today, 02:28
Joined
Feb 1, 2002
Messages
138
I have an OutputTo command that works fine until I convert the database to and mde file, then I get Error 2046: The command or action 'OutputTo' isn't available now. Here's my code:

Code:
DoCmd.OutputTo acOutputQuery, strQuery, acFormatXLS, strSaveFileName

Any ideas why this would be happening?
 
Have you tried docmd.transferspreadsheet?

I have no other lead or clue.
 
That works.
Thanks.

Still curious why OutputTo doesn't work, if anyone knows.
 

Users who are viewing this thread

Back
Top Bottom