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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Docmd.OutputTo

Status
Not open for further replies.

pwils025

Programmer
Oct 7, 2003
45
US
Does anyone know a work around for out putting my access report to excel where my data doesn't get truncated?

This is my code and it cuts off data in one of the cells. The data can be 20 to 500 characters long

sFileName = "c:\" & "rptLicenseeDetailXL.xls" DoCmd.OutputTo acOutputReport, , acFormatXLS, sFileName, True

Any ideas would be great!

Paul
 
Is the DoCmd.TransferSpreadsheet an issue for you ?

Hope This Help, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
 
Haven't tried TransferSpreadsheet yet, but will it transfer data from a report to the spreadsheet or do I have to pass data from a query?

Benefit of sending from the report is that I have the report setup to filter the records being returned and well as grouping them.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top