Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks.
Tried and works but I get the same issue as my reply to Patrick with the copying formulas into rows where cell E is empty. Thanks "Mauro Gamberini" wrote: Try LastRow = Range("E" & Rows.Count).End(xlUp).Row If LastRow 109 then LastRow = 109 End If Range("P11:AC11").AutoFill Destination:=Range("P11:AC" & LastRow), Type:=xlFillDefault -- --------------------------- Mauro Gamberini http://www.riolab.org/ http://blog.maurogsc.eu/ http://social.microsoft.com/Forums/i...ficeit/threads "LiAD" ha scritto nel messaggio ... Hello again, Another small simple question for someone that knows how. How do i adapt this code in order to stop copying at row 109 maximum? So its max copying range is 11 to 109 inclusive. LastRow = Range("E" & Rows.Count).End(xlUp).Row Range("P11:AC11").AutoFill Destination:=Range("P11:AC" & LastRow), Type:=xlFillDefault Thanks LiAD |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Keep text matching a wildcard spec in replace/substitute | Excel Worksheet Functions | |||
Spec. Sheet | Excel Worksheet Functions | |||
Excel's Spec? | Excel Programming | |||
Formula for YTD total of Vac. Hrs. used for spec. employee | Excel Worksheet Functions | |||
FileDialog Folder selection spec | Excel Programming |