![]() |
#7
|
|||
|
|||
![]()
Hi,
I erred on the previous code posted. The following code should work. Code:
Sub DeleteBlank() ' remove rows with blank in column "B" With Application .ScreenUpdating = False .Calculation = xlCalculationManual End With For Each cell In Range("A1", Cells(Rows.Count, "A").End(xlUp)) If Cells(cell.Row, 2).Value = "" Then Cells(cell.Row, 2).EntireRow.Delete End If Next With Application .ScreenUpdating = True .Calculation = xlCalculationAutomatic End With End Sub |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
how can I make a ScrollBar &/or a SpinButton display values? | jeffk | Excel | 3 | 01-04-2016 04:25 AM |
![]() |
TimTDP | Excel | 2 | 12-01-2015 02:56 AM |
![]() |
am0 | Word | 3 | 12-12-2014 02:13 AM |
![]() |
knownunknown | Excel | 6 | 04-24-2013 01:56 AM |
Word chart with words for y-values? | Computerbum | Office | 0 | 09-19-2011 07:09 PM |