LOCAL LoadSheetSectionHeights(ServerFileName : Text;SheetName : Text) List := ReportBuilder.GetReportSectionHeights(ServerFileName,SheetName); FOR I := 0 TO List.Count - 1 DO BEGIN SectionInfo := List.Item(I); ExcelTemplateSection.INIT; ExcelTemplateSection."Template Code" := Code; ExcelTemplateSection."Sheet Name" := SheetName; ExcelTemplateSection.Name := SectionInfo.Name; ExcelTemplateSection.Height := SectionInfo.Height; ExcelTemplateSection.INSERT; END;
Answers
http://www.excel-easy.com/examples/names-in-formulas.html
For example - any standard NAV report, open Excel Template from NAV and CTRL+F3.
You should create Names for sections (Header, Body, Footer etc) and fields to export data (SellerName, PostingDate).
Then you could easily export data from NAV:
and so on.