Hey guys,
I have a problem in clearing the whole row when on Column "A" a certain text, in this case "Planungsbedingung" is written.
I did it like this:
the problem is it just clears 1 cell and I dont know how I can make it so that the whole row is cleared when he finds that Text on column "A"![]()
Dim cell As Range For Each cell In Intersect(Columns("A:GA"), ActiveSheet.UsedRange) If cell = "Planungsbedingung" Then cell = "Planungsbedingung" cell.Offset(0, 1).ClearContents End If Next cell
How do I select the whole Row with Offset? or do I need another command?
Bookmarks