-
-
Notifications
You must be signed in to change notification settings - Fork 36
addInfo
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 )
-
workbook
spreadsheet object -
info
struct: valid keys are: - author
- category
- comments
- company
- keywords
- lastAuthor
- manager
- subject
- title
Chainable? Yes.
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 );