Export data with open sheet

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Good things to alls.
I want to export an access 97 table to excel in this way:
after path request and "OK" by user, I would open Excel application (in
foreground) and show data processing.
Someone would help me?
many thanks in advance.
(I beg your pardon for my bad English)
Giangi
 
Hi Giangi,

You can use the VBA code here www.mvps.org/access/api/api0001.htm for
the "path request", and DoCmd.TransferSpreadsheet to export the table to
the Excel file.

Subsequently this VBA statement (where strFileSpec contains the path to
the Excel file) will open Excel with the file:
Application.FollowHyperlink strFileSpec

But I don't know what you mean when you say you want to "show data
processing".
 
Back
Top