ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   how do I find the copy down function (https://www.excelbanter.com/excel-worksheet-functions/165162-how-do-i-find-copy-down-function.html)

michael longo

how do I find the copy down function
 
can you tell me where its located

Peo Sjoblom

how do I find the copy down function
 
Maybe you mean editfilldown or ctrl + d?


--


Regards,


Peo Sjoblom


"michael longo" wrote in message
...
can you tell me where its located




ryguy7272

how do I find the copy down function
 
This macro should do what you want:
Sub Autofill2()
Dim myR As Range
Set myR = Cells(Rows.Count, 1).End(xlUp).Offset(-1, 0).Resize(2, 1)

On Error Resume Next
myR.AutoFill Destination:=Range _
(myR, myR.Offset(0, 1).End(xlDown).Offset(0, -1))

End Sub

Alternatively:
Sub FillDown()
Range("A1").Select
Selection.End(xlDown).Select
Range(Selection, Selection.End(xlDown)).Select
Selection.FillDown
End Sub


One more way:
http://www.contextures.com/xlDataEntry02.html

Regards,
Ryan---


--
RyGuy


"Peo Sjoblom" wrote:

Maybe you mean editfilldown or ctrl + d?


--


Regards,


Peo Sjoblom


"michael longo" wrote in message
...
can you tell me where its located






All times are GMT +1. The time now is 02:40 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com