| Quote |
|---|
| link you sent is somehow broken |
The link is to the image I've posted a second later at Sep 28, 2019 04:32 AM. I've just missused the bottons - used 'Hyperlink' instead of 'Image attachment'
| Quote |
|---|
| which module are you writing |
that code should be placed to the method, where you fill your spreadsheet document
is the section of your template, which you create with the SpreadsheetDocument::GetArea() method
This example creates the spreadsheet document, gets the template similar to the screenshot above, fills the section parameters and then puts the section into the spreadsheet document:
| Code |
|---|
SpDoc = New SpreadsheetDocument;
Template = GetTemplate("Template1");
Section = Template.GetArea("Section");
Section.Parameters.Year = Year(CurrentDate());
Section.Parameters.Number = "66613";
SpDoc.Put(Secion);
|