Options

Problem with exporting Excel

S0918423470S0918423470 Member Posts: 159
Hello all,

I have problem with export to excel , the message that i received :

This message is C/AL programmers :
The call to member LeftHeader failed.Ms Excel returned the following message : Unable to set the LeftHeader property of the PageSetup class.

I used table 370 for exporting.In the function Create Sheet they call
XLworksheet.Pagesetup.LeftHeader.


Why do i have this??Maybe for lost DLL??
In server customer, this happened. But in my computer is is ok.

Thank for any answers.

Comments

  • Options
    TbiTbi Member Posts: 33
    In server customer, this happened. But in my computer is is ok.
    Maybe there's an older version of Excel on the Customers' computer? (The old version might not support the property).
  • Options
    jonsan21jonsan21 Member Posts: 118
    Hi,

    Maybe it'd be better to export to csv, and then convert to excel - by this you'll no need to worry about any DLL involvement since csv file can be created by a stream of text.. - pure CAL coding

    Just my 2 cents,

    Rgds,

    Jon.
    Rgds,

    Jon.
Sign In or Register to comment.