ControlSite.ListFillRange Property
Gets or sets a value that identifies the range used to fill the specified list box.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Syntax
'Declaration
Property ListFillRange As String
string ListFillRange { get; set; }
Property Value
Type: System.String
A value that identifies the range used to fill the specified list box.
Remarks
Microsoft Office Excel reads the contents of every cell in the range and inserts the cell values into the list box. The list tracks changes in the range’s cells.
Setting this property destroys any existing list in the list box.
If the list in the list box was created with the AddItem method, this property returns an empty string ("").
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.