Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
filters
Hi -
If someone can help me with this, I would really appreciate it. What I want to do is use excel to open an instance of access and export a report to my c drive that has filters. My original code simply opens the report and prints it out e.g. OpenCurrentDatabase ("urizen.mdb") DoCmd.OpenReport "Rpt1", acViewNormal, "Floor='10'" but now i would like to just export it without printing it out, which i can do with the following line of code: DoCmd.OutputTo acOutputReport, "Rpt1", acFormatRTF, "c:\temp\Rpt1.rtf" is there any way i can specify the filter using the OutputTo method? Thanks. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
filters
You will have more luck getting this answer from the Access newsgroup
-- - K Dales "LHaro" wrote: Hi - If someone can help me with this, I would really appreciate it. What I want to do is use excel to open an instance of access and export a report to my c drive that has filters. My original code simply opens the report and prints it out e.g. OpenCurrentDatabase ("urizen.mdb") DoCmd.OpenReport "Rpt1", acViewNormal, "Floor='10'" but now i would like to just export it without printing it out, which i can do with the following line of code: DoCmd.OutputTo acOutputReport, "Rpt1", acFormatRTF, "c:\temp\Rpt1.rtf" is there any way i can specify the filter using the OutputTo method? Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Can I use "OR" in two auto-filters/custom filters? | Excel Discussion (Misc queries) | |||
Pivot Table filters, especially DATE filters | Excel Worksheet Functions | |||
How to copy with filters but not copy the filters in the middle? | Excel Discussion (Misc queries) | |||
Filters | Excel Discussion (Misc queries) | |||
Filters, Subtotal & Intacted Results after the filters' Removal | Excel Discussion (Misc queries) |