export to excel problem

If you are a Delphi developer and have any questions about using our products from Delphi here is the place to post them.
Post Reply
systweakamol
Posts: 16
Joined: Fri Sep 09 2005
Contact:

export to excel problem

Post by systweakamol »

Hi!

I am using the cdex.. Document1 control for exporting to excel.

I am writting this code
Document1.SetLicenseKey('','');
Document1.Open('c:\test pdf\PDF Creator User Manual.pdf');
Document1.Optimize(2);
Document1.ExportToEXCEL('c:\sdsds.xls',acExcelExportOptionSingleSheet);

The problem is this that it creates the excel file for the first page i mean that a single sheet is created with the first page of pdf file.

I want a seperate sheet should be created for each page.
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

This is due to the fact that you are using the evaluation version of the driver. This will export only 1 page to Excel, the Licensed version will export all your pages to Excel.

Hope this helps.
Post Reply