Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Brian,
Thanks for the info - I'll try that. Regards John On Jun 18, 7:56 am, Brian Bennett wrote: John, try this one. (it's not mine, but one I found) Sub DeleteRowsThatLookEmptyinColE() Application.ScreenUpdating = False Application.Calculation = xlCalculationManual 'pre XL97 xlManual Dim Rng As Range, ix As Long Set Rng = Intersect(Range("E:E"), Sheet1.UsedRange) For ix = Rng.Count To 1 Step -1 If Trim(Replace(Rng.Item(ix).Text, Chr(160), Chr(32))) = "" Then Rng.Item(ix).EntireRow.Delete End If Next done: Application.Calculation = xlCalculationAutomatic Application.ScreenUpdating = True End Sub *** Sent via Developersdexhttp://www.developersdex.com*** |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
change colorIndex, help me write an easy macro | Excel Programming | |||
Copy rows macro | Excel Programming | |||
EXCEL VB Macro Run Time Error 1004 - Setting ColorIndex | Excel Programming | |||
Is ther a way to change the interior.colorindex of multiple rows | Excel Programming | |||
Rows ColorIndex | Excel Programming |