![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Guest
Posts: n/a
|
guys, how can I create a macro to delete a group of rows within a range (ie- C30 thru C55) if any of the cells in this range (C30-C55) are empty, leaving just those rows in that range that have text entries? Thanx!
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Bogota, Colombia
Posts: 11,758
|
Is this what you want ?
Range("C30:C55").SpecialCells(xlCellTypeBlanks).EntireRow.Delete |
|
|
|
|
|
#3 |
|
Guest
Posts: n/a
|
It is probably what I want, but I am not exactly sure where to put this code (module, sheet, etc.) And is there anything else I need to add before/after the code? Thanks again!
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|