Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rename Excel columns and import

Status
Not open for further replies.

qwertyjjj

Programmer
May 27, 2005
70
GB
I have a spreadsheet that needs to be regularly imported into Access. Unfortunately some of the columns are called 1 - 10, 10 - 20, etc.

Access doesn't seem to like these because of the hypen -.
So, in the Access database I have named these columns 1To10, 10To20, etc.

Is there a way to either rename the Excel columns or map columns while importing into Access ?
 
The column in Access?

I just assumed that it would do that directly when importing the spreadsheet ?

I can't change the spreadsheet column directly unless through code.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top