Whatever message this page gives is out now! Go check it out!
SpreadsheetAddInfo(spreadsheetobj, property_struct)Parameter | Description |
spreadsheetobj | The Excel spreadsheet object from which to get the value. |
property_struct | The following properties of the spreadsheet can be modified or set:
|
<cfscript>
spreadsheetObj=SpreadSheetNew("Test sheet");
myInfo=StructNew();
myInfo.title="sample title";
myInfo.category="sample category";
myInfo.author="sample author";
myInfo.subject="sample subject";
SpreadSheetAddInfo(spreadsheetObj,myInfo);
myFile=GetDirectoryFromPath(GetCurrentTemplatePath()) & "myinfo.xlsx";
SpreadSheetWrite(spreadsheetObj,"#myFile#",true);
</cfscript>