Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
HI, I have limited VBA knowledge. I have a very large worksheet where I need
a macro to delete rows that are blank. The cells look blank but have formulas in them. Does anyone have a macro to do this. Also, I have three worksheets in this file and the one I'm working with is called "Implementation". Thanks, Cathy |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Cathy
You must loop through them and test for "" See http://www.rondebruin.nl/delete.htm Use this line in the macro ElseIf .Cells(Lrow, "A").Value = "" Then .Rows(Lrow).Delete 'This will delete each row if the cell is empty or have a formula that evaluates to "" Or use EasyFilter that have a option to do this http://www.rondebruin.nl/easyfilter.htm -- Regards Ron de Bruin http://www.rondebruin.nl "Cathy" wrote in message ... HI, I have limited VBA knowledge. I have a very large worksheet where I need a macro to delete rows that are blank. The cells look blank but have formulas in them. Does anyone have a macro to do this. Also, I have three worksheets in this file and the one I'm working with is called "Implementation". Thanks, Cathy |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Ron. It worked great!!
Cathy "Ron de Bruin" wrote: Hi Cathy You must loop through them and test for "" See http://www.rondebruin.nl/delete.htm Use this line in the macro ElseIf .Cells(Lrow, "A").Value = "" Then .Rows(Lrow).Delete 'This will delete each row if the cell is empty or have a formula that evaluates to "" Or use EasyFilter that have a option to do this http://www.rondebruin.nl/easyfilter.htm -- Regards Ron de Bruin http://www.rondebruin.nl "Cathy" wrote in message ... HI, I have limited VBA knowledge. I have a very large worksheet where I need a macro to delete rows that are blank. The cells look blank but have formulas in them. Does anyone have a macro to do this. Also, I have three worksheets in this file and the one I'm working with is called "Implementation". Thanks, Cathy |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I Delete blank cells in a row | Excel Discussion (Misc queries) | |||
Macro to Delete blank cells | Excel Worksheet Functions | |||
Macro to delete all blank cells | Excel Programming | |||
Macro to delete blank rows | Excel Programming | |||
macro to delete entire rows when column A is blank ...a quick macro | Excel Programming |