I have a workbook with about 30 worksheets. I want to delete column 4 only in worksheets that contain the text"NIFTY".
Code
Sub FindERROR() Dim SearchString As String
Dim SearchRange As Range, cl As Range
Dim FirstFound As String
Dim sh As Worksheet ' Set Search value SearchString = "NIFTY"
Application.FindFormat.Clear loop through all sheets
For Each sh In ActiveWorkbook.Worksheets
Columns(4).Delete
End Sub