Exporting a table to Excel. You can display the entire content, or you can display only the title first, then one line at a time in a loop with analysis or inserts between lines.

Call:

ts_table(iTableDescr, "export_to_excel", int withheader, string startcolletter, int startexcelrow, int starttablerow, int maxrows);


Here:

withheader = 0/1 - with or without headers

startcollerrer - "A" or a string with another letter - the start column of the spreadsheet to export (if "", then the start is the current column where the cursor is in Excel)

starttablerow - from which row to start output from the table (0 - from the first)

maxrows - how many rows to display. (-1 - all)