KB-18912: Preventing data exported to Excel from staying on a single cell.

Question:

When exporting data to Excel using the PrintToFile() function, they stay in a single cell of the file. How can I configure them to be exported respecting the columns and cells configured on the table displayed on the Browser?

Solution:

To do so, you must use the Chr(9) separator in the PrintToFile() command.

Example of script:

Reports.Report1.PrintToFile(“historic.xls”,1,Chr(9),1)

Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Leave a Reply

Your email address will not be published.Required fields are marked *