ListDataFormat.MaxCharacters ListDataFormat.MaxCharacters ListDataFormat.MaxCharacters Property


Returns an Integer containing the maximum number of characters allowed in the ListColumn object if the Type property is set to xlListDataTypeText or xlListDataTypeMultiLineText. Returns -1 for columns whose Type property is set to a non-text value. Read-only Integer.

 property int MaxCharacters { int get(); };
public int MaxCharacters { get; }
Public ReadOnly Property MaxCharacters As Integer

Property Value


This property is used only for lists that are linked to a SharePoint site.

In Microsoft Excel, you cannot set any of the properties associated with the ListDataFormat object. You can set these properties, however, by modifying the list on the SharePoint site.

Applies to