Message-ID: <634065549.9699.1711699490264.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_9698_476120553.1711699490264" ------=_Part_9698_476120553.1711699490264 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html DataValidation.SetAllowedType(DataValidation.ValidationType, Obj= ect)

DataValidation.SetAllowedType(DataValidation.ValidationType, Object= )

Description

=20

Sets the allowed data type and a set of valid values to use when validat= ing a cell entry.

=20
C#
=20
 public void SetAllowedType(ValidationType allowedType, System.Object sourc=
eArray)
=20
=20
vb.net
=20
Public Sub SetAllowedType(ByVal allowedType As ValidationType, ByVal source=
Array As Object)
=20
=20

Parameters

=20
allowedType
The data type allowed in the cell.=20
sourceArray
For 'List' allowed type: the array of vali= d values for the cell.=20

Remarks

This method may only be used for ValidationTypes o= f List, Custom, or AnyValue. See object documentation for the ValidationTyp= e parameter type combinations accepted by this method.
------=_Part_9698_476120553.1711699490264--