OutputTo Method Example
The following example outputs the Employees table in rich-text format (.rtf) to the Employee.rtf file and immediately opens the file in Microsoft Word for Windows:
DoCmd.OutputTo acOutputTable, "Employees", acFormatRTF, "Employee.rtf", True