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

Report output to Excel causes NULL error in OfficeXP in Sum(XYZ) field

Status
Not open for further replies.

pdupreez

Technical User
May 16, 2001
49
ZW
I have a simple report showing daily despatches per month, including totals per day. When I export the report via VBA using DoCmd.OutputTo acOutputReport, "rptdaily", acFormatXLS, "C:\temp\rptdaily.xls", False, I get an #NAME# error in Excel(XP), which causes Excel to restart and recover.

However, if I convert the same report using the Export command from the Access menu, it translates correctly without error?

I am at a loss what the difference is. I do not have the same problem when I use Office97.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top