Results 1 to 6 of 6

Thread: **RESOLVED ** exporting report to Word For Windows

Threaded View

  1. #1

    Thread Starter
    PowerPoster Pasvorto's Avatar
    Join Date
    Oct 2002
    Location
    Minnesota, USA
    Posts
    2,951

    **RESOLVED ** exporting report to Word For Windows

    I am experiencing a strange problem. I am trying to export a report to Word For Windows (2000) from my VB6 CR8.5 program (code follows). The document gets there, but when I bring it up in Word, it is blank, until I change the view to "print layout". Then the data is there, but it is grayed out. Any ideas?

    Set Report = crxApplication.OpenReport("C:\CertificateofCompliance.rpt", 1)
    Report.ExportOptions.FormatType = 14 'Word For Windows
    Report.ExportOptions.DiskFileName = "C:\CertificateofCompliance.doc"
    Report.ExportOptions.DestinationType = crEDTDiskFile
    Report.Export False
    Last edited by Pasvorto; Jan 30th, 2004 at 10:40 AM.

Posting Permissions

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



Click Here to Expand Forum to Full Width