Table of ContentsCollection of the MS Excel constants.
| XlHAlign |
Type:
number
| Name | Description |
|---|---|
| xlHAlignCenter | Center. |
| xlHAlignCenterAcrossSelection | Center across selection. |
| xlHAlignFill | Fill. |
| xlHAlignGeneral | General. |
| xlHAlignJustify | Justify. |
| xlHAlignLeft | Left. |
| xlHAlignRight | Right. |
| XlUnderlineStyle |
Type:
number
| Name | Description |
|---|---|
| xlUnderlineStyleDouble | Double thick underline. |
| xlUnderlineStyleDoubleAccounting | Two thin underlines placed close together. |
| xlUnderlineStyleNone | No underline. |
| xlUnderlineStyleSingle | Single underline. |
| color.rgb |
Type:
number
| Name | Description |
|---|---|
| xlColorIndexNone | No color. Only applicable on Format Background Color activity. |
| xlColorIndexAutomatic | Automatic color. Only applicable on Format Font Color activity. |
| aqua | Aqua. |
| black | Black. |
| blue | Blue. |
| blueGray | Blue gray. |
| brightGreen | Bright green. |
| brown | Brown. |
| cyan | Cyan. |
| darkBlue | Dark blue. |
| darkGreen | Dark green. |
| darkRed | Dark red. |
| darkTeal | Dark teal. |
| darkYellow | Dark yellow. |
| gold | Gold. |
| gray25 | Gray25. |
| gray50 | Gray50. |
| gray75 | Gray75. |
| green | Green. |
| indigo | Indigo. |
| lavender | Lavender. |
| lightBlue | Light blue. |
| lightGreen | Light green. |
| lightOrange | Light orange. |
| lightTurquoise | Light turquoise. |
| lightYellow | Light yellow. |
| lime | Lime. |
| magenta | Magenta. |
| oliveGreen | Olive green. |
| orange | Orange. |
| paleBlue | Pale blue. |
| pink | Pink. |
| plum | Plum. |
| red | Red. |
| rose | Rose. |
| seaGreen | Sea green. |
| skyBlue | Sky blue. |
| tan | Tan. |
| teal | Teal. |
| violet | Violet. |
| white | White. |
| yellow | Yellow. |
| listDirection |
Type:
number
| Name | Description |
|---|---|
| vertical | The different items of the list will be written vertically in the excel worksheet. |
| horizontal | The different items of the list will be written horizontally in the excel worksheet. |
| moveDirection |
Type:
number
| Name | Description |
|---|---|
| vertical | If you call PushValues multiple times, the active cell moves by keeping the same column coordinate. Only the row coordinate increases. |
| horizontal | If you call PushValues multiple times, the active cell moves by keeping the same row coordinate. Only the column coordinate increases. |
| columnType |
Type:
number
| Name | Description |
|---|---|
| string | The coordinate of the columns are string characters like 'F', 'HI', 'ABC'. |
| number | The coordinate of the columns are number like '5', '45', '123'. |
| XlDirection |
Type:
number
| Name | Description |
|---|---|
| xlDown | Go down. |
| xlToLeft | Go to the left. |
| xlToRight | Go to the right. |
| xlUp | Go up. |
| XlVerticalDirection |
Type:
number
| Name | Description |
|---|---|
| xlDown | Go down. |
| xlUp | Go up. |
| XlHorizontalDirection |
Type:
number
| Name | Description |
|---|---|
| xlToLeft | Go to the left. |
| xlToRight | Go to the right. |
| XlSheetVisibility |
Type:
number
| Name | Description |
|---|---|
| xlSheetVisible | The worksheet is visible. |
| xlSheetHidden | The worksheet is hidden. |
| xlSheetVeryHidden | The worksheet is hidden programmatically. The user cannot set the worksheet as visible in the Excel interface. |
| visibilitySelection |
Type:
string
| Name | Description |
|---|---|
| allWorksheets | Select all the worksheets. |
| onlyVisibleWorksheets | Select only the worksheets if they are visible. |
| onlyHiddenWorksheets | Select only the worksheets if they are hidden. |
| onlyVeryHiddenWorksheets | Select only the worksheets if they are very hidden. |
| worksheetMoveType |
Type:
string
| Name | Description |
|---|---|
| firstPosition | Move to the first position of the workbook. |
| lastPosition | Move to the last position of the workbook. |
| leftWorksheet | Move to the position just to the left of the reference worksheet. |
| rightWorksheet | Move to the position just to the right of the reference worksheet. |
| getFormat |
Type:
string
| Name | Description |
|---|---|
| standard | A unique value is returned in case of unique cell range, otherwise a 2-D array is returned. |
| reduceToList | A unique value is returned in case of unique cell range, a 1-D array is return for single row or single column range and otherwise a 2-D dimension is returned. |
| objectsHeadersOnFirstRow | Return a list of objects. The properties of the objects are determined by the headers of the first row of the range. |
| objectsNoHeaders | Return a list of objects. Properties of the objects are generated automatically with col1, col2, col3 based on the position in the worksheet. |
| updateLinkChoices |
Type:
number
| Name | Description |
|---|---|
| updateLinks | Update links |
| dontUpdateLinks | Don't update links |
| interactivePopup | Display interactive popup |
| dateFormats |
Type:
string
| Name | Description |
|---|---|
| object | JavaScript date object |
| isoString | ISO string, such as yyyy-mm-ddT00:00:000Z |
| localeDateString | String dependent on local format |
| saveAsFormat |
Type:
number
| Name | Description |
|---|---|
| excelDefault | The format of a new file is determined by the version of Excel being used. For an existing file, the default format is the last one used for the file. |
| csvUtf8 | Export the current worksheet as CSV format. |
| exportAsFormat |
Type:
number
| Name | Description |
|---|---|
| Export the current workbook as PDF format. | |
| xps | Export the current workbook as PDF XPS. |
| XlSortOrder |
Type:
number
| Name | Description |
|---|---|
| xlAscending | Sort in ascending order. |
| xlDescending | Sort in descending order. |
| XlAutoFilterOperator |
Type:
number
| Name | Description |
|---|---|
| xlAnd | Logical And |
| xlFilterValues | The criteria contain simple value to perform the filtering. |
| xlOr | Logical Or |