Good morning, I am importing an Excel 2000 document into Access 2000. I am able to delete the unused columns with the following code:
DoCmd.RunSQL "Alter Table Imported Drop Column [F1]"
Now with [F1] deleted the next column I would like to keep is currently named [F2]. I would like to give this column a more maningful name like [Coil]. Is it possible to rename a column using something like this:
DoCmd.RunSQL "Alter Table Imported Rename Column [F1], [Coil]"
Thank you for any and all suggestions.
DoCmd.RunSQL "Alter Table Imported Drop Column [F1]"
Now with [F1] deleted the next column I would like to keep is currently named [F2]. I would like to give this column a more maningful name like [Coil]. Is it possible to rename a column using something like this:
DoCmd.RunSQL "Alter Table Imported Rename Column [F1], [Coil]"
Thank you for any and all suggestions.