다음을 통해 공유


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

See Also

Reference

ControlSite Interface

Microsoft.Office.Tools.Excel Namespace