Version

ScrollBars Property

Gets or sets the scroll bars shown in the workbook window.
Syntax
'Declaration
 
Public Property ScrollBars As ScrollBars
public ScrollBars ScrollBars {get; set;}

Property Value

The scroll bars shown in the workbook window.
Exceptions
ExceptionDescription
System.ComponentModel.InvalidEnumArgumentExceptionThe assigned value is not defined in the ScrollBars enumeration.
Remarks

The vertical scroll bar occupies the entire height of the application if it is visible.

The horizontal scroll bar occupies the width of the application not used by the worksheet tab bar, if it is visible. Otherwise, it occupies the entire width of the application.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also