T
Twan Kennis
It seems to be impossible to save an Access report to the Excel 97-2002
format using VBA without user-interaction.
I tried several Formatting-parameter-values:
DoCmd.OutputTo(acReport, ..., acFormatXLS, ...)
DoCmd.OutputTo(acReport, ..., "Microsoft Excel 97-10 (*.xls)", ...)
DoCmd.OutputTo(acReport, ..., "Microsoft Excel 97-2002 (*.xls)",
....)
but all result in the same old/standard Excel format, instead of the new
Excel format.
Only a blanc formatting-parameter within the VBA-command
DoCmd.OutputTo(acReport, ..., "", ...)
does show a picklist with export-formats from which the user can select
the new Excel-format with results into a succesful Excel file.
Does somebody know the "magic" parameter-value to save an Access report
to the Excel 97-2002 without user-interaction?
Thanx in advance.
Twan Kennis
SKB Vragenlijst Services, The Netherlands
format using VBA without user-interaction.
I tried several Formatting-parameter-values:
DoCmd.OutputTo(acReport, ..., acFormatXLS, ...)
DoCmd.OutputTo(acReport, ..., "Microsoft Excel 97-10 (*.xls)", ...)
DoCmd.OutputTo(acReport, ..., "Microsoft Excel 97-2002 (*.xls)",
....)
but all result in the same old/standard Excel format, instead of the new
Excel format.
Only a blanc formatting-parameter within the VBA-command
DoCmd.OutputTo(acReport, ..., "", ...)
does show a picklist with export-formats from which the user can select
the new Excel-format with results into a succesful Excel file.
Does somebody know the "magic" parameter-value to save an Access report
to the Excel 97-2002 without user-interaction?
Thanx in advance.
Twan Kennis
SKB Vragenlijst Services, The Netherlands