Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am using the following code it works with numbers but not with text any
help would be much appreciated Sub MixerTypeFilter() If Not UserForm7.ComboBox4.Text = "" Then Dim MyRange, MyRange1 As Range Lastrow = Cells(Rows.Count, "DU").End(xlUp).Row Set MyRange = Sheets("FormulationsDatabase (2)").Range("DU1:DU" & Lastrow) For Each c In MyRange If Not UCase(c.Value) = UserForm7.ComboBox4.Text Then If MyRange1 Is Nothing Then Set MyRange1 = c.EntireRow Else Set MyRange1 = Union(MyRange1, c.EntireRow) End If End If Next If Not MyRange1 Is Nothing Then MyRange1.Delete End If End If End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Text join formulas working but act as straight text when modified | New Users to Excel | |||
Copy text then Past Text into TextBox not working | Excel Programming | |||
Code not working | Excel Programming | |||
Wht is this Code not Working ? | Excel Programming | |||
why this code not working | Excel Programming |