Hi experts
can any body guide me how use this procedure to delete specific columns based on headers?
the columns should delete them ("UNIT PRICE", "ORDERS")
actually I don't understand this line
of course the e is the headers names but the others I don't understand it. just I've found in specifc code and I try implement for my file but does'nt work . it seems to delete the last column .
any help guys?
can any body guide me how use this procedure to delete specific columns based on headers?
the columns should delete them ("UNIT PRICE", "ORDERS")
VBA Code:
With Sheets("Result" )
For Each e In Array("UNIT PRICE", "ORDERS")
.Rows(1).Find(e, , , 1).EntireColumn.Delete
Next
End with
VBA Code:
.Rows(1).Find(e, , , 1).EntireColumn.Delete
any help guys?