OpenOffice 3.2 does not have an import wizard for spreadsheets. But it is possible to copy spreadsheet data from a Microsoft Excel file or an OpenOffice spreadsheet file into a new table in an OpenOffice database. Your new spreadsheet table can then be used in OpenOffice SQL queries, forms and other OpenOffice database features.
- Skill level:
Other People Are Reading
Open the spreadsheet file and select the spreadsheet tab that contains the data you want to move to the OpenOffice table. Use your mouse to select the cell range containing the data you want to copy. Right-click on the selected data, and click on "Copy." This will copy the selected data to the system clipboard.
Open the OpenOffice database file you want to contain the copied data. Click on the "Tables" icon on the left-side navigation pane to go to the "Tables" view. Select "Edit" from the menu bar then select "Paste." The "Copy Table" dialogue will appear. Enter a name for the table in the "Table Name" field. In the Options section, make sure "Definition and Data" is selected. If the data you selected in the spreadsheet has column names at the top, be sure to check the "Use first line as column names" check box. This will copy the column headers into the field names of the new table.
Click the "Next" button to go to the "Apply Columns" dialogue box. This dialogue lets you select which columns of the copied data you want to create in the new database table. In most case, you will want to click the ">>" button to select all columns. If you want to copy over only selected columns, click the column name on the left side then click the ">" button to move it to the right side of the dialogue. When you have selected all the columns you want, click "Create." You may be asked if you want to create a primary key for the table. Click "Yes" unless you want to use one of the existing columns as the primary key.
Double-click on the table name in the lower half of the Tables view of the database window to verify that the data has been successfully copied. This will open up the table so you can view all of the records in the table. When you have finished verifying the data, close the Table window then save the database file.
Tips and warnings
- If you will be copying multiple spreadsheet tabs from a spreadsheet file to OpenOffice database tables, set the table names to match the spreadsheet tab names so you can keep track of what you have copied.
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for