kelly mort
Well-known Member
- Joined
- Apr 10, 2017
- Messages
- 2,169
- Office Version
- 2016
- Platform
- Windows
I want to clear the content from col B to N instead of deleting entire row.
I can't make it happen.
Can someone fix that for me?
I have tried
But did not work.
I can't make it happen.
Can someone fix that for me?
I have tried
Code:
[COLOR=#A52A2A].Offset(1).EntireRow.ClearContents[/COLOR]
But did not work.
Code:
With Range("B3:N"& Range("B" & Rows.Count).End(xlUp).Row)
.AdvancedFilter Action:=xlFilterInPlace, CriteriaRange:=[O1:O2], Unique:= False
[COLOR=#a52a2a].Offset(1).EntireRow.Delete[/COLOR]
If .Parent.FilterMode Then .Parent.ShowAllData
End With