# Inserting Tables

/text/swriter/guide/table_insert.xhp
tables; inserting text tables
inserting; tables in text
DDE; inserting tables
OLE objects; inserting tables in
cells;inserting from spreadsheets
tables in spreadsheets;inserting in text
spreadsheets;inserting tables from
mw changed "cell ranges;" to "cells;"
Inserting Tables
There are several ways to create a table in a text document. You can insert a table from a toolbar, through a menu command, or from a spreadsheet. UFI: from a database?
To Insert a Table From the Insert Toolbar
- Place the cursor in your document where you want to insert the table.
- On the Standard bar, click the arrow next to the Table icon.
- In the table grid, drag to select the numbers of rows and columns that you want, and then release.
To cancel, drag to the other side until Cancel appears in the preview area of the grid.make it RTL compliant
To Insert a Table With a Menu Command
- Place the cursor in your document where you want to insert the table.
- Choose Table - Insert - Table.
- In the Size area, enter the number of rows and columns.
- Select the options that you want, click OK.
To Insert a Table From a Calc Spreadsheet
- Open the $[officename] Calc spreadsheet containing the cell range that you want to insert.
- In the spreadsheet, drag to select the cells.
- Choose Edit - Copy.
- In your text document, do one of the following:
- Choose Edit - Paste. The cell range is pasted as an OLE object. To edit the contents of the cells, double-click the object.
- Choose Edit - Paste Special, and choose from the following options:

Options
Is inserted as...
$[officename] $[officeversion] Spreadsheet
OLE object - as with Command Ctrl+V or drag-and-drop
GDIMetaFile
Graphic
Bitmap
Graphic
HTML
HTML table
Unformatted text
Text only, tab stops as separators
Formatted text [RTF]
Text table
DDE link (only under Windows)
Table structure and contents, without formatting. With updating

Drag-and-Drop a Cell Range From a Calc Spreadsheet
- Open the $[officename] Calc spreadsheet containing the cell range that you want to insert.
- In the spreadsheet, drag to select the cells.
- Click and hold the mouse button in the selected cells.
- Drag the selected cells into the text document.