Skip to content

Instantly share code, notes, and snippets.

@vkostyanetsky
Last active May 16, 2020 18:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vkostyanetsky/ef44bbb18f36a1c51826a5d0b4f3960e to your computer and use it in GitHub Desktop.
Save vkostyanetsky/ef44bbb18f36a1c51826a5d0b4f3960e to your computer and use it in GitHub Desktop.
ValueTable to SpreadsheetDocument
&AtServerNoContext
Function ValueTableToSpreadsheetDocument(ValueTable)
Builder = New ReportBuilder;
Builder.DataSource = New DataSourceDescription(ValueTable);
SpreadsheetDocument = New SpreadsheetDocument;
Builder.Put(SpreadsheetDocument);
Return SpreadsheetDocument;
EndFunction // ValueTableToSpreadsheetDocument()
@vkostyanetsky
Copy link
Author

vkostyanetsky commented May 16, 2020

У меня на сайте есть заметка про эту функцию.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment