Copies the content of a Table or TreeView Table control into the clipboard. The control content is copied in text format: it is converted into character string and this string is copied into the clipboard.

Separator used between the columns. The default separator is the tabulation (TAB).

<Start Row>: Optional integer

Number of the row where the export will start. If this parameter is not specified, the start row is the first row of control.

<End Row>: Optional integer

Number of the row where the export will end. If this parameter is not specified, the end row is the last row of control.

Remarks

Use conditions

TableToClipboard can be used on:

a browsing or memory control.

a single-selection or multi-selection control.

Limit

The merged columns are ignored.

Related Examples:

Unit examples (WINDEV): The TableTo functions

[ + ] Exporting table data with the WLanguage functions.The following topics are presented in this example:1/ interfacing with Word and Excel2/ sending data to the clipboard3/ generating a text fileThis example explains how to export the content of a table to a Word document, an Excel workbook, the clipboard or a text file via the following WLanguage functions: TableToWord, TableToExcel, ToClipboard, TableToText.