Hi all,
Could some give me some guidance on how to get a dialog box to ask for a location when exporting to excel. Here’s an example of what I’m doing at the moment;
eg DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel3, “QryTest”, "C:\test.xls", True
I’ve had a look at ‘How to use the Common Dialog API in an Access database’ on the Microsoft Knowledge Base and it seems to be just what I want, except the example they give is good for retrieving a file name and I don’t know how to amend the code to suit my purposes.
Just in case there’s anyone out there who could do the trick here’s the link:
Kind regards and many thanks
Could some give me some guidance on how to get a dialog box to ask for a location when exporting to excel. Here’s an example of what I’m doing at the moment;
eg DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel3, “QryTest”, "C:\test.xls", True
I’ve had a look at ‘How to use the Common Dialog API in an Access database’ on the Microsoft Knowledge Base and it seems to be just what I want, except the example they give is good for retrieving a file name and I don’t know how to amend the code to suit my purposes.
Just in case there’s anyone out there who could do the trick here’s the link:
Kind regards and many thanks