When Col inserts cells into a worksheet (not rows, but cells), the process seems to take longer than it should because he always has to check to see if Excel will shift the displaced cells down or to the right. He always wants the cells to be shifted downward, so he is wondering if there is a way to make "shift down" the default.
As Col implied, when you choose some cells and the use the Insert Cells command, Excel displays a dialog box where you can indicate how you want the displaced cells shifted. This process can, indeed, seem to take quite a while if all you ever want to do is shift down when you insert. Unfortunately, there is no way to change the default in Excel.
The solution is to use a macro to do your inserting. It doesn't need to be a long one; for instance, the following will shift cells down when inserting:
Sub ShiftDown() Selection.Insert Shift:=xlDown End Sub
Assign the macro to the Quick Access Toolbar or to a shortcut key, and you can easily shift cells down as you insert. All you need to do is to select the cells (or, indeed, entire rows) and then use the macro. If you want to create variations of the macro that always shift in different directions, all you need to do is change xlDown to xlUp, xlLeft, or xlRight.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (4078) applies to Microsoft Excel 2007, 2010, 2013, and 2016.
Program Successfully in Excel! John Walkenbach's name is synonymous with excellence in deciphering complex technical topics. With this comprehensive guide, "Mr. Spreadsheet" shows how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf. Check out Excel 2013 Power Programming with VBA today!
Under the right circumstances, you may notice problems when copying dates from one workbook to another. This tip explains ...
Discover MoreWant to make an entry of the same value into a group of selected cells? It's easy to do with just one small change in how ...
Discover MoreOne way to make your worksheets less complex is to get rid of detail and keep only the summary of that detail. Here's how ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
2016-08-29 08:44:28
Adam
I was not even thinking about this when the original email was sent, but a keystroke sequence which works (hearkening back to 2003 menu options) is alt+i+r (the old Insert menu, then row). It is an option without picking up the mouse.
2016-08-27 20:04:53
Alex B
The macro is obviously going to give you the quickest way of doing it, but inserting using keystrokes is already quite quick.
To Insert
Ctrl+"+"
followed by
"D" and enter
PS: if you don't use the numeric keypad it is likely to involve using the shift key to get the "+".
2016-08-27 08:46:30
sheldon hopkins
There is a 'permanent' way to shift cell direction upon pressing the enter key:
Click the File "tab" : select Options :
Advanced The first editing option
allows your to select the direction
of movement in three directions.
This is a permanent direction movement, and will have to be reset for other
movement after 'enter'.
Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2021 Sharon Parq Associates, Inc.
Comments