Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try going to www.learningiseasy.co.uk and look at the marco page and you will
find a marco to do this and maybe some more stuff. I started creating this website but due to the lack of visitors I have not updated it for ages. Hope this helps "me" wrote: In a data containing worksheet, in column "A" I would like to write a macro which finds the cell with content "text2delete" and delete all the rows below including this "text2delete" row. Something like below. Any help will be appreciated greatly. Thanks Sub content_del() $A = Find "text2delete" entered value at A1 column then Range(A$:A65000").Select Selection.EntireRow.Delete End Sub or if it is easier this way, delete all the rows A column value as "text2delete" I guess this code should work for me. Any help is greatly appreciated. Thanks.. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Delete rows by content | Excel Worksheet Functions | |||
Hide/Delete entire rows based in the content of one cell | Excel Discussion (Misc queries) | |||
Delete Rows on cell content? | Excel Programming | |||
Delete Rows Based On Content | Excel Programming | |||
Delete Rows Based On Content | Excel Programming |