Moving Cells by Drag-and-Drop /text/scalc/guide/move_dragdrop.xhpdrag and drop; moving cellscells; moving by drag and drop columns;moving by drag and dropmoving;cells by drag and dropinserting;cells, by drag and dropmw added "columns;"Moving Cells by Drag-and-Drop
When you drag-and-drop a selection of cells on a Calc sheet, the cells normally overwrite the existing cells in the area where you drop. This is the normal overwrite mode.When you hold down the OptionAlt key while releasing the mouse button, you enter the insert mode.In insert mode, the existing cells where you drop will be shifted to the right or to the bottom, and the dropped cells are inserted into the now empty positions without overwriting. The surrounding box of the moved cells looks different in insert mode. In overwrite mode you see all four borders around the selected area. In insert mode you see only the left border when target cells will be shifted to the right. You see only the upper border when target cells will be shifted down. Whether the target area will be shifted to the right or to the bottom depends on the distance between source and target cells, if you move within the same sheet. It depends on the number of horizontal or vertical cells in the moved area, if you move to a different sheet.If you move cells in insert mode within the same row (only horizontally), then after insertion of the cells, all cells will be shifted to the left to fill the source area.In both modes, you can hold down the Command Ctrl key, or CommandCtrl+Shift keys while you release the mouse button to insert a copy or a link, respectively.
Keys pressed while releasing the mouse buttonResultNo keyCells are moved and overwrite the cells in the target area. Source cells are emptied.Command Ctrl keyCells are copied and overwrite the cells in the target area. Source cells stay as they are.CommandCtrl+Shift keysLinks to the source cells are inserted and overwrite the cells in the target area. Source cells stay as they are.OptionAlt keyCells are moved and shift the cells in the target area to the right or to the bottom. Source cells are emptied, except if you move within the same rows on the same sheet. If you move within the same rows on the same sheet, the cells in the target area shift to the right, and then the whole row shifts to fill the source area.Option+Command Alt+Ctrl keysCells are copied and shift the cells in the target area to the right or to the bottom. Source cells stay as they are.Option+CommandAlt+Ctrl+Shift keysLinks to the source cells are inserted and shift the cells in the target area to the right or to the bottom. Source cells stay as they are.