ExcelConditionalFormatsCollectionAddDataBar Method |
Adds a data bar rule: each cell displays a bar with a length proportional to its value, from the lowest to
the highest value of the range.
Namespace: ExpertXls.ExcelLibAssembly: expertxls (in expertxls.dll) Version: 10.0.0
Syntaxpublic ExcelConditionalFormat AddDataBar(
Color barColor
)
Public Function AddDataBar (
barColor As Color
) As ExcelConditionalFormat
Parameters
- barColor Color
- The color of the bars.
Return Value
ExcelConditionalFormatThe new conditional format rule.
See Also