I have data on Sheet "Data"
I have tried to write code to clear data from where "Total value" appears to two rows below this and 6 columns to the right of where "Total value appears"
I cannot get my code to clear this data
It would be appreciated if someone could kindly assist me
Sub Clear_lastValue() With Sheets(2) Dim c As Range Set c = .Columns(1).Find("Total Value", , , 1) .Cells(LR).Resize(2, 6).ClearContents End With End Sub
I have attached sample data
Bookmarks