Skip to content
Julian Halliwell edited this page Sep 20, 2021 · 5 revisions

Sets document properties for a new spreadsheet or modifies properties for an existing spreadsheet.

addInfo( workbook, info )

Required arguments

  • workbook spreadsheet object
  • info struct: valid keys are:
  • author
  • category
  • comments
  • company
  • keywords
  • lastAuthor
  • manager
  • subject
  • title

Chainable? Yes.

Example

spreadsheet = New spreadsheet();
workbook = spreadsheet.new();
infoToAdd = {
 author="Bob"
 ,category="Testing"
 ,lastAuthor="Anne"
 ,comments="OK"
 ,keywords="test"
 ,manager="Diane"
 ,company="Acme Ltd"
 ,subject="tests"
 ,title="Test figures"
};
spreadsheet.addInfo( workbook,infoToAdd );
Clone this wiki locally