i've been using this coding n it was working fine until.....i use on a spreadsheet that has 9000++ rows. it's taking too long and also managed to make my pc hang...
Code:
Range("A2").Offset(1, 0).Select
Do Until ActiveCell.Value = ""
If ActiveCell.Text Like "J750*" Or ActiveCell.Text Like "A5*M*" Then ActiveCell.EntireRow.Hidden = True
If ActiveCell.Text Like "J973*" Or ActiveCell.Text Like "J971*" Then ActiveCell.EntireRow.Hidden = True
If ActiveCell.Text Like "T33*" Or ActiveCell.Text = "MST-LC" Then ActiveCell.EntireRow.Hidden = True
If ActiveCell.Text = "MST_LC" Or ActiveCell.Text = "MST-LC" Then ActiveCell.EntireRow.Hidden = True
If ActiveCell.Text = "C400LPIN" Or ActiveCell.Text = "93K-P603" Then ActiveCell.EntireRow.Hidden = True
If ActiveCell.Text = "TGRDS-A" Or ActiveCell.Text = "ROOS" Then ActiveCell.EntireRow.Hidden = True
ActiveCell.Offset(1, 0).Select
Loop
is there any other way without using the above loop statement or advanced filter tools?
thanx in advance
regards,