Compartilhar via


_Worksheet.ScrollArea Property

Returns or sets the range where scrolling is allowed as an A1-style range reference. Cells outside the scroll area cannot be selected. Read/write String.

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

Syntax

'Declaration
Property ScrollArea As String
    Get
    Set
'Usage
Dim instance As _Worksheet
Dim value As String

value = instance.ScrollArea

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

Property Value

Type: System.String

Remarks

Set this property to the empty string ("") to enable cell selection for the entire sheet.

See Also

Reference

_Worksheet Interface

_Worksheet Members

Microsoft.Office.Interop.Excel Namespace