![How to move groups of cells in excel for macro How to move groups of cells in excel for macro](http://www.techonthenet.com/excel/cells/images/border2013_001.gif)
I have Office365 (so I think I have whatever is latest version of Excel at time of post - I can't find a proper version number anywhere). Selecting ANY group of cells (not just rows/columns), moving to border to get 4-way arrow, and dragging moves data around - leaving an empty hole behind.
Dropping it warns on overwrite. Shift+dragging attempts to reorder rows or columns, but only if full row/column selected. 'Full' = all of some rectangular area - not necessarily full spreadsheet. // Confusion: must hover over boundary of data cells, not the row number or column letter - that resizes. – Jul 18 '17 at 18:19 •.
To move multiple nonconsecutive rows. Hold down the Ctrl key (Windows)/Cmd key (Mac) and click the row numbers that you want to move to highlight them. Click and drag one of the row numbers to move them all to a new location.
Add the following macros to your Personal Macro Workbook and assign them shortcut keys. The behaviour mimics Sublime Text's Swap Line Up & Swap Line Down. Sub move_rows_down() Dim rOriginalSelection As Range Set rOriginalSelection = Selection.EntireRow With rOriginalSelection.Select.Cut.Offset(rOriginalSelection.rows.Count + 1, 0).Select End With Selection.Insert rOriginalSelection.Select End Sub Sub move_rows_up() Dim rOriginalSelection As Range Set rOriginalSelection = Selection.EntireRow With rOriginalSelection.Select.Cut.Offset(-1, 0).Select End With Selection.Insert rOriginalSelection.Select End Sub. In dealing with similar cases in the past, where I could not just sort by a row, I found way to generate a column with a formula result that was something I could sort on. Azure dreams gbc emulator mac.
I found a more direct answer to your question from: Microsoft Word has a feature which Excel is lacking. Jon's method involves moving the data to Word, employing the Word command and then pasting the data back to Excel. Follow these steps. • Copy the relevant chunk of rows and columns out of your speadsheet.
Are they going to make overwatch available for mac users free. It is best to note the size of the range, e.g., 118 rows x 5 columns • Paste the data into a Microsoft Word document, where it automatically becomes a table and retains all your formatting. • In Word, use the little-known SHIFT-ALT-UP-ARROW and SHIFT-ALT-DOWN-ARROW to very speedily slide rows (or selected chunks of rows) up and down at will. Select one or more rows. You can select the entire row or just a portion of the row as shown here.
Hit Shift+Alt+UpArrow several times in order to quickly slide the rows up into position. • When you have sequenced the rows as you like, paste them back into Excel, making sure you overwrite the exact same size chunk you copied.