The Engines.Excel object provides support for parsing a Microsoft Excel spreadsheet.
An Excel spreadsheet can be opened by specifying its file name, as well as the optional worksheet name and range values, using this API or by setting these values in the Klip's top XML section.
As with Klips using other types of data sources, an Excel Klip's <style> section must match the returned XML data.
Important Notes:
In order to allow access to it by multiple Excel Klips,
a. make sure no one has it opened;
OR
b. share your workbook. For details on how and its implications, refer to Microsoft's documentation: Excel 2007; Excel 2003
For example, if the majority data type of the first 8 rows of column heading A was Number, any cell under column A that is not a Number
is ignored. Refer to the
Microsoft Support page for a workaround.
Since:
5.2
See also:
The
How-to article on developing an Excel Klip.
| Properties Summary | |
String |
lasterror
|
String |
xml
|
| Function Summary | |
function
|
open( <String> file[, <String> sheet[, <String> range]] )
|
| Properties Detail |
lasterror
String lasterror
xml
String xml
| Function Detail |
open
function open( <String> file[, <String> sheet[, <String> range]] )
The name of the worksheet and its range to be accessed may be specified.
Note:
When specifying range, sheet must also be specified as the second parameter.
-
Parameters:
file - the name of the Excel file (e.g. "\\\\NetworkPlace\\accounting\\budget09.xls")
sheet - the name of the spreadsheet. Default is "Sheet1". [optional]
range - the range (e.g. "A1:E12") in the specified spreadsheet. Default is the smallest range that includes all the available headers and values. [optional]
-
Returns:
-
true on success; otherwise false
|
Klipfolio Dashboard 5 API | ||||||||
| PREV OBJECT NEXT OBJECT | FRAMES NO FRAMES | ||||||||
| SUMMARY: PROPERTY | FUNCTION | DETAIL: PROPERTY | FUNCTION | ||||||||
© 2010 Klipfolio Inc. All Rights Reserved.