property Pivot.LoadHeadersOnly as Boolean
Loads the headers only, so no data is loaded.

TypeDescription
Boolean A Boolean expression that specifies whether the control loads the headers only.
By default, the LoadHeadersOnly property is False, which indicates that headers and data is loaded by Import or DataSource property. If the LoadHeadersOnly property is True, the Import or DataSource property loads just the headers of the columns. The LoadHeadersOnly property loads the headers only, so no data is loaded. The new value for the LoadHeadersOnly property has effect for the next calling of Import or DataSource property.