>>LOCAL oCR AS CRAXDRT.Application
>>LOCAL oRpt AS CRAXDRT.Report
>>LOCAL oExp AS CRAXDRT.ExportOptions
>>oCR = CREATEOBJECT(“CrystalRuntime.Application”)
>>oRpt = oCR.OpenReport(“C:\Temp\Taz.RPT”)
>>oExp = oRpt.ExportOptions()
>>oExp.DestinationType = 1 && crEDTDiskFile
>>
>>oExp.FormatType = 27 && Excel <---- THIS ----------
>>
>>oExp.DiskFileName = "C:\Temp\Taz.XLS"
>>oRpt.Export(.F.)
>>
>
>O GOD!
>I even didn't saw that you posted in Crystal Report section!
>Sorry for stupid questions :-)
>
>You could open CRAXDRT.Report in Object Browser and check values for crEFTPortableDocFormat and others.
>
>#define crEFTWordForWindows 14 && Word for windows
>#define crEFTExcel97 36 && Excel 97
>#define crEFTPortableDocFormat 31 && PDF
>
>Searching for more :-)
>
>I hope Craig Berntson will jump here :-)
I found all of them....
Thanks!
ICQ 10556 (ya), 254117