Originally Posted by LeoTaxi Sub test() For x = 1 To Cells(1, Columns.Count).End(xlToLeft).Column If Cells(1, x) = "Good" Then Cells(1, x).Resize(3).ClearContents Next End Sub Kind regards Leo Thanks! I adjusted it a bit to better suit my needs but it works!
Sub test() For x = 1 To Cells(1, Columns.Count).End(xlToLeft).Column If Cells(1, x) = "Good" Then Cells(1, x).Resize(3).ClearContents Next End Sub
Last edited by codys21; 11-11-2016 at 03:33 PM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Forum Rules
Bookmarks