Filerting and deleting rows crashes excel

Status
Not open for further replies.

Rayner

New Member
Joined
Sep 13, 2011
Messages
12
I am having many kinds of names in my excel sheet. Now i need only one particular name. So i am filterting that name, now the excel will display only the rows where the selected name is present(say its 10th and 13th row.) Now when i right click and give delete rows, excel crashes.

As per my initial analyses i found out that the data area given by excel is giving wrongly. When i press control and choose the 10th and 13th row, it got deleted. I debug and try to see the difference between both. When i press control and delete, in the range i got area to be deleted as " range = area #1 = [PSet_Signal_Editor.xls]Signals!$13:$13; area #2 = [PSet_Signal_Editor.xls]Signals!$10:$10; "( the area of 10th and 13th row) but when i filter and delete the rows i got the target range as " range = area #1 = [PSet_Signal_Editor.xls]Signals!$A$13:$F$13; area #2 = [PSet_Signal_Editor.xls]Signals!$H$13:$IV$13; area #3 = [PSet_Signal_Editor.xls]Signals!$A$10:$F$10; area #4 = [PSet_Signal_Editor.xls]Signals!$H$10:$IV$10;"

I got 4 areas like from A to F; H to IV, I dont kw why the area is spliting like this. So when I try to get the count of the data area its giving the wrong count and excel crashes. As the data area is getting from excel, in my project i cant do anything. So is there any work around to do im my project, so that i can get the area correcly using that getcount() method. In my getcount() method, i shud get the same value as pressing control and when filtering.

Please give your valuable suggestions
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Status
Not open for further replies.

Forum statistics

Threads
1,224,599
Messages
6,179,828
Members
452,946
Latest member
JoseDavid

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top