Stefan thanks for the reply but...
Let me explain further what I am trying to do.
I am creating a table on the fly which can contain from 1 to 20 columns. I
am then using a macro to sent the table to a file (or whatever). The problem
is it always sends the first column which is the autonumber column which I do
not want.
If I go in manualy to the datasheets and use the pull down to hide the
column it works fine but because I am re-creating the table each time using
code ,the hide column is not kept. Hence my desire to do it via VB code.
Any further suggestions will be much apresiated.
Thanks
Steve