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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

delete duplicate column in the excel from MS ACCESS

Status
Not open for further replies.

yan19454

MIS
May 19, 2005
94
0
0
US
I have excel file which has two columns with the same name. I can't import the file into MS Access. Will you please give me the code to delete one of duplicated column first in MS VBA code so that I can import.

Thx.
 




Is this an on-going problem? Why not just open the Excel workbook and change the duplicate heading?

Short of that, check out the GetObject Method. Quite an extinsive example in help.

Skip,
[sub]
[glasses]Did you hear what happened when the OO programmer lost his library?...
He's now living in OBJECT poverty![tongue][/sub]
 
it need to be update daily. I do not think I like to open the file and delete that daily.
 




"...check out the GetObject Method. Quite an extinsive example in help."

Skip,
[sub]
[glasses]Did you hear what happened when the OO programmer lost his library?...
He's now living in OBJECT poverty![tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top