Partager via


ControlFormat.LinkedCell Property

Returns or sets the worksheet range linked to the control's value.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property LinkedCell As String
    Get
    Set
'Usage
Dim instance As ControlFormat
Dim value As String

value = instance.LinkedCell

instance.LinkedCell = value
string LinkedCell { get; set; }

Property Value

Type: System.String

Remarks

If you place a value in the cell, the control takes this value. Likewise, if you change the value of the control, that value is also placed in the cell.

You cannot use this property with multiselect list boxes.

See Also

Reference

ControlFormat Interface

ControlFormat Members

Microsoft.Office.Interop.Excel Namespace