K
Kahuna
Hi Folks - been using the following code to save a snapshot file for some
time, but just realised, users get a box that offers them the opportunity to
save in HTML, Excel, RTF etc in addition to SnapShot.
DoCmd.OutputTo acOutputReport, DocName, acFormatSNP, strFolder & "\" &
gr_graph_desc & ".snp"
Unfortunately this code does not limit the saving to the SnapShot format but
of course, it does append an .snp extension.
Seems the output box can only be intercepted if your using one of the other
formats (Excel etc acFormatXLS as above). If I try and save using the
following code:
DoCmd.OutputTo acOutputReport, gr_graph_desc, acFormatSNP
which should theoretically open the format selection form and then the 'save
to' dialog then the file is simply not saved (and that's regardless of the
format selected in the dialog)!!!
Is there anyway to suppress the format selection box with this code or - to
intercept the selection box result to append the correct extension?
time, but just realised, users get a box that offers them the opportunity to
save in HTML, Excel, RTF etc in addition to SnapShot.
DoCmd.OutputTo acOutputReport, DocName, acFormatSNP, strFolder & "\" &
gr_graph_desc & ".snp"
Unfortunately this code does not limit the saving to the SnapShot format but
of course, it does append an .snp extension.
Seems the output box can only be intercepted if your using one of the other
formats (Excel etc acFormatXLS as above). If I try and save using the
following code:
DoCmd.OutputTo acOutputReport, gr_graph_desc, acFormatSNP
which should theoretically open the format selection form and then the 'save
to' dialog then the file is simply not saved (and that's regardless of the
format selected in the dialog)!!!
Is there anyway to suppress the format selection box with this code or - to
intercept the selection box result to append the correct extension?