Is there a way to launch a "Save As" window in Access that will allow the user to browse their computer and other network drives when saving a file?
I'm running the following code:
DoCmd.SetWarnings False
DoCmd.OpenQuery "qryMailMerge1", acNormal, acReadOnly
DoCmd.SetWarnings True
'''' INSERT SAVE AS CODE HERE
DoCmd.TransferSpreadsheet acExport, 8, "tmpMailMerge", "C:\temp\testexport.xls", True, ""
I'd like to replace the "C:\temp\testexport.xls" part of the code with a string variable that will have the path and file name of where the user wants to save the file.
Thanks!
I'm running the following code:
DoCmd.SetWarnings False
DoCmd.OpenQuery "qryMailMerge1", acNormal, acReadOnly
DoCmd.SetWarnings True
'''' INSERT SAVE AS CODE HERE
DoCmd.TransferSpreadsheet acExport, 8, "tmpMailMerge", "C:\temp\testexport.xls", True, ""
I'd like to replace the "C:\temp\testexport.xls" part of the code with a string variable that will have the path and file name of where the user wants to save the file.
Thanks!