ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Autofill help (https://www.excelbanter.com/excel-programming/301253-autofill-help.html)

Patrick Simonds

Autofill help
 
I need a piece of code which will go to the last cell (with data) in column
A and then AutoFill down one cell.



Cecilkumara Fernando[_2_]

Autofill help
 
Patrick Simonds,
range("A" & rows.Count).End(xlUp).EntireRow.AutoFill _
destination:=range("A"&rows.Count).End(xlUp).Entir eRow.Resize(2)
to autofill columnA only remove ".EntireRow"
Cecil

"Patrick Simonds" wrote in message
...
I need a piece of code which will go to the last cell (with data) in

column
A and then AutoFill down one cell.






All times are GMT +1. The time now is 07:35 AM.

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