TransferSpreadsheet with MSDE

A

Austin

I am using TransferSpreadsheet in an Access project that is connected to a
MSDE SQL database. I can export tables just fine, but it says “Database
can’t find the object ‘myQueryname’ when I try to export a View or a Stored
Procedure.

theQueryName = " myQueryname’ "

DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9,
theQueryName, theExcelPath, True

Thanks for any help!
 

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