I am so confused. I have sucessfully used a conditional row deletion before... and practically copied it for this one except now its just not actually deleting the row. It enters the if statement (detecting a true condition), displays the msgbox I put to check if it was even entering the if statement, however it seems to skip right over the 'rows(n).delete' statement. The strange part is that is does seem to be deleting something because my total number of columns that my data is resting on is made smaller. But it isnt deleting the 'n-th' row, so I am very confused.
It is also VERY slow running. it goes through about... 10k rows (deleting the random ones....) in about 2 min. considering that I have 500,000 rows to get through... thats not cool. Is there anyway to speed it up once its actually working? Maybe getting it working will fix the slowness?
The code is to look at column A, pull the month data out of a date (this is what the MID does) and then check it using the IF statement - if it is not a Jan, Feb, Nov, or Dec, the row should be deleted. Also, the 550,000 is not the exact end of my data, I just know it will be under that and over 500,000 rows long.
Please Login or Register to view this content.
Bookmarks