Save As

mark curtis

Registered User.
Local time
Today, 18:54
Joined
Oct 9, 2000
Messages
457
Dear all,

I want to use the

Application.GetSaveAsFilename

But want the code to save the file in Excel format and also prompt if it is to overwrite?

Thanks
Mark
 
See This Thread (Hope the above address is correct, first time posting Url's

You will need to change the commondialog properties to save with "*.xls" instead of "*.txt"

And then change the command in the procedure "Private Sub btn_Save_Click()" from displaying the msgbox to
DoCmd.TransferSpreadsheet acExport, 8, "[Table/Query source", FilePath, True, ""


Smed
 

Users who are viewing this thread

Back
Top Bottom