Share via


Column::Hidden property

The Hidden property returns or sets the visible state for the column. When setting the Hidden property, the view is refreshed automatically. This property is read/write.

Syntax

Property Hidden As Long

Property value

Visible state of the column. If Hidden is 0, then the column is viewable. If Hidden is 1, then the column is not viewable. The first column must always remain viewable and cannot be hidden.

Examples

' Retrieve the Hidden property.
Dim nHidden As Long
nHidden = objCol.Hidden
 
' Hide the column by setting the Hidden property to 1.
objCol.Hidden = 1

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
MMCObj.h
IDL
MMCObj.idl
DLL
Mmc.exe
IID
IID_Column is defined as FD1C5F63-2B16-4D06-9AB3-F45350B940AB