exporting data to excel

A

amsuria

hi,

i would like to export data to excel...

Currently, im using the codes below:

DoCmd.OutputTo acOutputTable, "Project", acFormatXLS, _
strPath & "\\\Projects_Report.xls"

BUt the problem is, my end users are not allowed to save the exported file
in their desired location... how am i goin to do that?

thank you...

really need your help so bad...
 
R

Ruel Cespedes via AccessMonster.com

Try this:

DoCmd.OutputTo acTable, "Project", "MicrosoftExcelBiff8(*.xls)", "", False,
"", 0
 
A

amsuria

hi ruel,

is it possible to export only those filtered records?

I have a subform that displays the filtered records, and i am thinking of
exporting only those records instead of all records in a table/query.

is it possible?

thanks again..
 

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