|
|
|
|
|
- Properties specific to xlsColumn variables
xlsColumn (Variable type) In french: xlsColonne
The xlsColumn type is used to describe and modify a column in an Excel document. You can define and change the characteristics of this column using different WLanguage properties. Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
sExcelFile is string
sExcelFile = fSelect("", "", "Select an Excel file...", ...
"Excel" + TAB + "*.xlsx" + CR + "All files (*.*)" + TAB + "*.*", "*.xlsx")
IF sExcelFile = "" THEN RETURN
MyDocument is xlsDocument
MyDocument = xlsOpen(sExcelFile)
Cell is xlsCell
Cell.BackgroundColor = LightRed
Column is xlsColumn
Column.Width = 200
Column.DefaultColumn = Cell
MyDocument..Column[2] = Column
xlsSave(MyDocument)
xlsClose(MyDocument)
Remarks Properties specific to xlsColumn variables The following properties can be used to handle xlsColumn variables: | | | Name | Type used | Effect |
---|
Cell | Array of xlsCell | Cells of the column. | DefaultCell | xlsCell | The default style of the column will correspond to the style of the specified cell. | Width | Real | Width of column in pixels (between 0 and 1789 pixels). If this property is initialized to -1, the default width of the columns in the Excel document will be used. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|