Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Excerpt

Sets or returns the maximum value that may be entered in a cell with a data validation rule.

Signature
C#
C#
<table class="diff-macro"><thead><tr><th class="diff-macro-title">unmigrated-wiki-markup</th></tr></thead><tbody><tr><td class="diff-macro-body"><pre>
 public System.Object MaximumValue{ get; set; }
</pre></td></tr></tbody></table>
Signature
vb.net
vb.net
Public <p>Public Property MaximumValue() As Object</p>Object
Remarks

See object documentation for the ValidationType value type combinations accepted by this method. For ValidationTypes (AnyValue, List, Custom) and ComparisonTypes (anything other than Between and NotBetween) which do not support a maximum value, this method will throw an exception.