Table of Contents

ExcelFile.ColCountOnlyData Property

While ColCount will return the maximum column including both data and formatted columns, this method doesn't include formatted columns, only cells with data, and it is normally what you need to use.

Important: This method includes blank formatted cells. See The Maximum Used Column On A Sheet

Syntax

Namespace: FlexCel.Core

public abstract Int32 ColCountOnlyData { get; }

See also