method Columns.Add (ColumnCaption as String)
Adds a Column object to the collection and returns a reference to the newly created object.

TypeDescription
ColumnCaption as String A string expression that defines the column's caption
ReturnDescription
VariantA Column object that represents the newly created column.

By default, the control has no columns. Use Add method to add new columns to the control. If the control contains no columns, you cannot add new items to the control. Use the Remove method to remove a specific column. If the control's DataSource property points to an ADO recordset the user doesn't need to add columns to the control. Instead, the Add method can be used to add computed fields for instance. Use the AddItem, InsertItem, DataSource properties to add new items to the control. Use the BeginUpdate and EndUpdate methods to prevent control from painting while adding columns or items. Use the Def property to specify default setting for cells in the column. Use the FormatLevel property to display multiple levels in the column's header