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!

Link an excel sheet starting at a specific row 1

Status
Not open for further replies.

yoshi88

Technical User
Mar 18, 2001
48
0
0
CA
Hi,

I would like to know if it is possible to link an Excel sheet in Access without the first 4 rows. I have an excel file wich is use by many users with the header in row 5 and when I link it to Access, the names of the fields change if the first row of the Excel sheet changed.

Thanks

Frank
 
You can, for example:

[tt]DoCmd.TransferSpreadsheet acLink, acSpreadsheetTypeExcel9, "tektips", "tek-tips.xls", True, "a5:b7"[/tt]
 
Thank you for this fast answer, it's working perfectly.

Frank
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top