property Group.CountLockedColumns as Long

Retrieves or sets a value indicating the number of locked columns. A locked column is not scrollable.

TypeDescription
Long A long expression indicating the number of locked columns.

The group may contains two kind of columns: locked and unlocked. The locked category contains all the columns that are fixed to the left area of the client area. These columns cannot be scrolled horizontally. Use the CountLockedColumns to specify the number of locked columns. The unlocked contains the columns that can be scrolled horizontally. Use the BackColorLock property to change the group's background color for the locked area. Use the LockedItemCount property to lock or unlock items to the top or bottom side of the group. Use the MergeCells method to combine two or more cells in a single cell.