I have a line of code that uses a fixed criteria;
Is there a way to change "*DELETE*" to say a comboBox value or cell reference?
I've tried
&
But no joy,
Cheers
Colin
Code:
If .Value Like "*DELETE*" Then .EntireRow.Delete
Is there a way to change "*DELETE*" to say a comboBox value or cell reference?
I've tried
Code:
If .Value Like ComboBox.value Then .EntireRow.Delete
Code:
If .Value Like .Range("A1").value Then .EntireRow.Delete
But no joy,
Cheers
Colin