Hello,
I need to find the best way to export a selection of data to excel. Using the docmd.transferspreadsheet command doesn't seem to be an option as I need to export filtered results.
At the moment this data can be viewed on screen using a form in data sheet view. This is important as I can apply the Where condition at runtime as the user builds up the criteria from several options.
Is there an easy way to export this dataset? Would the best option be to use the Analyse with Excel command? Anyone know how to call this from VBA???
Thanks
I need to find the best way to export a selection of data to excel. Using the docmd.transferspreadsheet command doesn't seem to be an option as I need to export filtered results.
At the moment this data can be viewed on screen using a form in data sheet view. This is important as I can apply the Where condition at runtime as the user builds up the criteria from several options.
Is there an easy way to export this dataset? Would the best option be to use the Analyse with Excel command? Anyone know how to call this from VBA???
Thanks