Thread: Delete Columns
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jean[_5_] Jean[_5_] is offline
external usenet poster
 
Posts: 5
Default Delete Columns

I have spreadsheet and 5 columns get deleted before I
import into a database. At first I just did a record
macro and deleted assuming the formatted would not
change. What I want to do is look for a specific name and
then delete the entire column. So if the columns are
named MGMTCODE, CHANNEL, NAME1, CLASS, FUND NAME Delete.
The column names always start in the first row A1. There
are about 20 columns in all ans some months they change
the order on me.

Any suggestions on how I can do this?