Results 1 to 2 of 2
  1. #1
    New Lounger
    Join Date
    Nov 2007
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Output to word (Access 2000)

    My command
    Domd.OutputTo acReport, "MyReport", "RichTextFormat(*.rtf)Cocuments and SettingsAdministratorMy DocumentsMyReport.rtf"
    gives the error "object required"
    What is the reason ?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Output to word (Access 2000)

    You should use DoCmd instead of Domd.
    And you have put the format and the filename in one string.
    It should be
    <code>
    DoCmd.OutputTo acOutputReport, "MyReport", acFormatRTF, "Cocuments and SettingsAdministratorMy DocumentsMyReport.rtf"</code>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •