| Visual Basic (Declaration) | |
|---|---|
Public Function New( _ ByVal isNotBetween As Boolean, _ ByVal firstValue As Object, _ ByVal isFirstFormula As Boolean, _ ByVal secondValue As Object, _ ByVal isSecondFormula As Boolean, _ ByVal suppressCustomName As Boolean _ )  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim isNotBetween As Boolean Dim firstValue As Object Dim isFirstFormula As Boolean Dim secondValue As Object Dim isSecondFormula As Boolean Dim suppressCustomName As Boolean Dim instance As New BetweenValuesConditionalFormattingRule(isNotBetween, firstValue, isFirstFormula, secondValue, isSecondFormula, suppressCustomName)  | |
| C# | |
|---|---|
public BetweenValuesConditionalFormattingRule( bool isNotBetween, object firstValue, bool isFirstFormula, object secondValue, bool isSecondFormula, bool suppressCustomName )  | |
Parameters
- isNotBetween
 - if set to 
true[is not between]. - firstValue
 - The first value
 - isFirstFormula
 - if set to 
true, indicates that the firstValue parameter is the first formula - secondValue
 - The second value
 - isSecondFormula
 - if set to 
true, indicates that the secondValue parameter is the second formula - suppressCustomName
 trueIndicates that the expression, referred to by a custom name, will not be restricted; otherwise,false
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8