Stargater
09-17-2007, 03:27 AM
Hi Forum,
I am currently trying to extract a number of reports from access to excel.
The Idea is that excel formulas (Lookups etc) can be applied to pick of the data for another report.
Currently i am using a DoCmd as per below.
DoCmd.OutputTo acOutputReport, "mi - Weekly - Error Type (Escalations)", acFormatXLS, , True
However when you open this report it prompts you enter a start and end date to be applied to the data within the report. Can anyone help me modify the code to automaticaly input the two dates (start/end) for me? Or am i going about this the completly wrong way?
Any help would be much appriciated.
thanks
I am currently trying to extract a number of reports from access to excel.
The Idea is that excel formulas (Lookups etc) can be applied to pick of the data for another report.
Currently i am using a DoCmd as per below.
DoCmd.OutputTo acOutputReport, "mi - Weekly - Error Type (Escalations)", acFormatXLS, , True
However when you open this report it prompts you enter a start and end date to be applied to the data within the report. Can anyone help me modify the code to automaticaly input the two dates (start/end) for me? Or am i going about this the completly wrong way?
Any help would be much appriciated.
thanks