Returns or sets the maximum number of contiguous days that can be selected at once.
Syntax
object.MaxSelCount [= number]
The MaxSelCount property syntax has these parts:
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
number | A numeric expression that evaluates to the number of days that can be selected at once. |
Remarks
The MaxSelCount property is valid only when the MultiSelect property is to True. Additionally, the MaxSelCount property must be set to a value that is greater than the difference between the SelStart and SelEnd properties. For example, given a selection of 9/15 to 9/18, MonthView.SelEnd - MonthView.SelStart
= 3. However, four days are actually selected; thus MaxSelCount must be set to 4.
The default of the property is one week (7 days).