DeleteColumn Method (Document Object)

Deletes specified columns in a CSV mode.

[JavaScript]

document.DeleteColumn( iColumn, [ iColumn2 ] );

[VBScript]

document.DeleteColumn iColumn, [ iColumn2 ]

Parameters

iColumn1

Specifies the first column to delete.

iColumn2

Specifies the last column to delete. If omitted, only one column specified by iColumn1 will be deleted.

Examples

The following example deletes columns 3 through 5.

[JavaScript]

document.DeleteColumn( 3, 5 );

[VBScript]

document.DeleteColumn 3, 5

Version

Supported on EmEditor Professional Version 21.0 or later.