ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Skip code (https://www.excelbanter.com/excel-programming/380271-skip-code.html)

Patrick Simonds

Skip code
 
How can I skip this code if Cell A1 of the row below the active cell
contains a value?


Range(.EntireRow.Columns("A").Cells(1), _
.Offset(2, 0).EntireRow.Columns("A")).FillDown



Bob Phillips

Skip code
 
If Activecell.Offset(1,0).Value < "" The
Range(.EntireRow.Columns("A").Cells(1), _
.Offset(2, 0).EntireRow.Columns("A")).FillDown
End If


--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Patrick Simonds" wrote in message
...
How can I skip this code if Cell A1 of the row below the active cell
contains a value?


Range(.EntireRow.Columns("A").Cells(1), _
.Offset(2, 0).EntireRow.Columns("A")).FillDown






All times are GMT +1. The time now is 05:50 AM.

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