Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi!
Always I want to delete a Row there's an error. When I deactivte the Autofilter it works fine. Is there a way to delete a row while the Autofilter is activatet? thx masterphilch |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Can you supply an example of the code you use to delete rows along with
the error message? Regards, Lonnie M. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Rows(xy).Delete
And the Autofilter (not on the same row!) is activatet! Or do you need some more informations? Lonnie M. wrote: Can you supply an example of the code you use to delete rows along with the error message? Regards, Lonnie M. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am still not exactly clear on what exactly you are trying to do, but
here is my response based on my best guess. See the following post (you will need to modify to serve your needs): ############################################ ############################################ ############################################ Ron de Bruin Apr 6 2003, 1:32 pm Newsgroups: microsoft.public.excel.programming From: "Ron de Bruin" - Find messages by this author Date: Sun, 6 Apr 2003 22:32:24 +0200 Local: Sun, Apr 6 2003 1:32 pm Subject: Use VBA to autofilter and then delete rows based on blanks... Use this one instead if they are really empty Public Sub DeleteBlankRows() On Error Resume Next 'In case there are no blank rows Columns("C").SpecialCells(xlCellTypeBlanks).Entire Row.Delete On Error GoTo 0 End Sub ############################################ ############################################ ############################################ I am not sure the criteria that you are trying to use, but it is likely that you are trying to delete based on the visible cells. If that is the case xlCellTypeVisible should be substituted in place of xlCellTypeBlanks. Hopefully this gives you some direction to go in--Lonnie M. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Delete options for AutoFilter? | Excel Worksheet Functions | |||
How to delete rows when List toolbar's "delete" isnt highlighted? | Excel Worksheet Functions | |||
excel needs feature to delete blanks when autofilter is used. | Excel Discussion (Misc queries) | |||
Delete every 3rd row, then delete rows 2-7, move info f/every 2nd row up one to the end and delete the row below | Excel Programming | |||
Delete results of Autofilter??? | Excel Programming |