Sub DeleteColumn()
' Housekeeping
MyPath = "C:\Junk"
MyPath = Application.InputBox("Path:", "Path", MyPath)
If "\" <> Right(MyPath, 1) Then
MyPath = MyPath & "\"
End If
MyExt = "*.xls"
FileKt = 0
MyFile = ""
MyFile = Dir(MyPath & MyExt)
Do While MyFile <> "" And FileKt < 2000
Workbooks.Open Filename:=MyPath & MyFile
FileKt = FileKt + 1
If FileKt Mod 500 = 0 Then
'MsgBox "Processed " & FileKt & " files"
End If
If Application.ProtectedViewWindows.Count > 0 Then
Application.ActiveProtectedViewWindow.Edit
End If
'Do the delete of the column here<do your="" delete="" of="" the="" column="" here="">
ActiveWorkbook.Save
ActiveWindow.Close
MyFile = Dir
Loop
'MsgBox "Processed a total of " & FileKt & " files."
End Sub</do>