|
-
Jan 15th, 2004, 10:24 AM
#1
Thread Starter
PowerPoster
**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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|