Skip to content

Latest commit

 

History

History
40 lines (22 loc) · 1.06 KB

Excel.FormatConditions.AddDatabar.md

File metadata and controls

40 lines (22 loc) · 1.06 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
FormatConditions.AddDatabar method (Excel)
vbaxl10.chm510080
vbaxl10.chm510080
Excel.FormatConditions.AddDatabar
4e22e749-860b-4224-b983-ba6dbbc7096a
04/26/2019
medium

FormatConditions.AddDatabar method (Excel)

Returns a Databar object representing a data bar conditional formatting rule for the specified range.

Syntax

expression.AddDatabar

expression A variable that represents a FormatConditions object.

Return value

Databar object

Remarks

Data bars help you see the value of a cell relative to other cells. The length of the data bar represents the value in the cell. A longer bar represents a higher value and a shorter bar represents a lower value.

Data bars are useful in spotting higher and lower numbers, especially with large amounts of data, such as top and bottom selling toys in a holiday sales report.

[!includeSupport and feedback]