|
|
|
|
|
- Properties specific to xlsRow variables
xlsRow (Variable type) In french: xlsLigne
The xlsRow variable type defines and changes the characteristics of a row in an Excel document. You can define and change the characteristics of this row 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)
MyFont is Font
MyFont.Name = "Arial"
MyFont.Size = 12
MyFont.Bold = True
MyFont.Color = White
MyDefaultCell is xlsCell
MyDefaultCell.BackgroundColor = DarkGreen
MyDefaultCell.Font = MyFont
MyRow is xlsRow
MyRow..Height = 200
MyRow..DefaultCell = MyDefaultCell
MyDocument..Row[2] = MyRow
xlsSave(MyDocument)
xlsClose(MyDocument)
Properties Properties specific to xlsRow variables The following properties can be used to define the characteristics of xlsRow variables: | | | Name | Type used | Effect |
---|
Cell | Array of xlsCell | Cells of the column. | DefaultCell | xlsCell | The default style of the row will correspond to the style of the specified cell. | Height | Double real | Row height in pixels (between 0 and 545 pixels). If this property is initialized to -1, the default height of the rows in the Excel document will be used. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|