bOk = MTblCopyRowsAndHeaders( hWndTbl, nRowFlagsOn, nRowFlagsOff, nColFlagsOn, nColFlagsOff )

Copies rows and the column headers into the clipboard without the 64 KB limit of SalTblCopyRows.

Parameters
hWndTbl
Window Handle: Handle of the table

nRowFlagsOn
Number: Flags a row should have

nRowFlagsOff
Number: Flags a row should not have

nColFlagsOn
Number: Flags a column should have

nColFlagsOff
Number: Flags a column should not have

Return
Boolean:TRUE if successful, FALSE if an error occurs

Example
In this example the selected columns of the selected rows are copied:

Set bOk = MTblCopyRowsAndHeaders( hWndTbl, ROW_Selected, 0, COL_Selected, 0 )

Remarks
Carriage/return and tab characters are substituted with blanks.
Please note that If you use SalTblPasteRows, the copied column headers are treated like an additional row!

See also
Extended clipboard copying

Created with the Personal Edition of HelpNDoc: News and information about help authoring tools and software