|
Dragging and Dropping a Cell Range
From NeoWiki
Dragging and Dropping a Cell Range In Calc it is possible to drag and drop a cell range by using only the mouse. You get the same result as if you were using the copy-paste or cut-paste functionality, but nothing is put in the clipboard.
Contents |
Selecting a Cell Range or a Single Cell
- To select a cell range drag the cursor on it, or click on the first cell at the top left, then press on the Shift key and click on the last cell at the bottom right.
- To select a single cell, click once on it, then click on it again whilst pressing the Shift key.
As a single cell is exactly a range reduced to one cell, in the following the term cell range will refer equally to a range made up of one or more cells.
Dragging and Dropping in the same sheet
Copying a cell range
- Select the range you want to copy.
- Release the mouse button.
- Whilst holding the Opt key, click in the first cell in the range where you want to paste a copy of the selected range.
The original range is copied into the new location without being deleted.
Moving a cell range
- Select the range you want to move.
- Release the mouse button.
- Click on any cell in the selected range, then start to drag the pointer. It takes the appearance of a hand.
- Drag the pointer to the desired location and release the mouse button.
The cell range is moved to the chosen location and the original one is deleted.
Dragging and Dropping in two different sheets
Note: the two sheets may belong to two different documents.
Copying a cell range
- Select the range you want to copy.
- Go to the Data menu and choose Define Range….
- Give this range a name, for example CopyTest and click on Add. Click on OK.
This range is listed in the Navigator. To copy it afterwards, as often as you want, apply the following method:
- Select the sheet in which you want to copy this range.
- Open the Navigator by going in the Edit menu, then selecting Navigator.
- Click on the little triangle on the left side of Database Ranges.
- Select the CopyTest range, right click or Control-click on this rectangle.
- Choose Drag Mode then Insert as Copy in the contextual menus.
- Drag the rectangle CopyTest from the Navigator to the location where you want to copy this range.
The original range is copied into this location without being deleted.
Moving a cell range
- Select the range you want to move.
- Click on the selected cell(s) and drag the cursor quickly down to the target sheet tab (the quickly part fools NeoOffice into not scrolling the page!)
- The new sheet will come to the front, and then you can drop the selected-cell frame where you want the cell(s) moved to.
The original range is deleted.
Note: you can, of course, use the usual copy/past or cut/past methods to copy or move a cell range. In each case, the range is copied in the clipboard, overwriting its contents.