How to Autofill vertically?

Got302ho

New Member
Joined
Apr 19, 2007
Messages
15
Hey all,

I know that you can autofill an entire column [horizontal] by double clicking on the bottom right hand corner but is there a way to autofill going across [vertically] without actually dragging the mouse?

Please help!!!
:unsure:

Thanks!
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)

Damon Ostrander

MrExcel MVP
Joined
Feb 17, 2002
Messages
4,239
Hi Got,

I don't know of a built-in feature that fills to the right comparable to the fill down that occurs when you double-click on a fill handle. But here is a simple macro that does such a fill.

Code:
Sub RowFill()
   Selection.AutoFill Range(Selection(1), _
      Selection(1).Offset(-1).End(xlToRight).Offset(1))
End Sub

Simply select the row of cells that start the fill, then run the macro and it will fill to the end of the filled portion of the row above it. I would recommend assigning a keyboard shortcut to this macro (for example Ctrl-r) to make it easy to use.

Keep Excelling.

Damon
 
Upvote 0

Forum statistics

Threads
1,191,133
Messages
5,984,858
Members
439,921
Latest member
Neocold

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top