Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Send to from query as .XLS

Status
Not open for further replies.

ETID

Programmer
Jul 6, 2001
1,867
US
I have an established db that runs a macro procedure to send a query as an .xls via email.

This process works on newly created db's and used to work with this particular db.

In the db in question, if I change the output type to HTML or text or RTF, all is fine,...only .xls results in an unreadable file.

P.S. I get the same results regardless if the process is done manualy or if it is run from a macro.

...any ideas?

 
You may choose between different Excel version:
acSpreadsheetTypeExcelX with X=3,4,5,7,8 or 9

Hope This Help, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top