You can find the CFFiddle demo of this function and other spreadsheet functions as part of a project that is shared with you.
Click the button below to launch CFFiddle.
To copy the project in your workspace in CFFiddle, follow the steps below:
Gets the property of an Excel spreadsheet object.
Returns a spreadsheet property that can be one of the following:
Microsoft Office Integration
SpreadsheetInfo(spreadsheetobj) |
SpreadsheetAddColumn, SpreadsheetAddImage, SpreadsheetAddRow, SpreadsheetDeleteRow,
SpreadsheetDeleteRows, SpreadsheetFormatRow, SpreadsheetFormatRows, SpreadsheetShiftRows
ColdFusion 9: Added the function.
Parameter |
Description |
|---|---|
spreadsheetobj |
The Excel spreadsheet object from which to get the value. |
This function is supported by Microsoft Office Excel 2007 and Microsoft Office 2003.
| <cfspreadsheet action="read" src="#dirname#SingleSheet.xls" name="SpreadsheetObj" > <cfset info = SpreadSheetInfo(SpreadsheetObj)> <cfoutput> AUTHOR : #info.author#<br> </cfoutput> <cfoutput> Creation Date : #info.creationdate#<br> </cfoutput> <cfoutput> LAST AUTHOR : #info.lastauthor#<br> </cfoutput> <cfoutput> SHEETS : #info.sheets#<br> </cfoutput> <cfoutput> SPREADSHEETTYPE : #info.SPREADSHEETTYPE#<br> </cfoutput> <cfoutput>SUBJECT : #info.SUBJECT#<br></cfoutput> <cfoutput>TITLE : #info.TITLE#<br></cfoutput> |
Sign in to your account