CopyColumn (NotesView - LotusScript®)

Creates a new column by copying an existing one.

Note: This method is new with Release 6.

Defined in

NotesView

Syntax

Set notesViewColumn = notesView .CopyColumn( sourceColumn [ , destinationIndex& ] )

Parameters

sourceColumn

Integer or NotesViewColumn. The view to be copied as specified by the position of an existing column in the current view or the NotesViewColumn object for an existing column in any view.

destinationIndex&

Long. Optional. The position of the new column. Defaults to the last column.

Return value

notesViewColumn

A NotesViewColumn object. The new column.

Usage

Positioning is 1-based. This differs from the array returned by Columns, which is 0-based.

Example