Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Ryan responded with this code to highlight the cells. What code would delete
the rows? ------------------------ So you just want to "Select" the cell? Use this, Sub Highlighter() Dim lngLastRow As Long Dim rng As Range lngLastRow = Cells(Rows.Count, "D").End(xlUp).Row For Each rng In Range("D1:D" & lngLastRow) If IsEmpty(rng) Then rng.Select Exit For End If Next rng End Sub -- Cheers, Ryan -- Mickey |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Deleting rows when certain cells are blank | Excel Programming | |||
deleting rows with blank cells after a specified column? | Excel Discussion (Misc queries) | |||
Deleting blank (Cells/Rows) in Excel-VBA | Excel Programming | |||
Deleting rows with blank cells | Excel Programming | |||
Deleting rows with blank cells | Excel Worksheet Functions |