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!

VBA to pull information into Access from Excel 1

Status
Not open for further replies.

SkydivingSteve

Technical User
Feb 20, 2004
27
GB
I've got users completing timesheets in Excel and I need to get this data into Access programatically. Could anybody point me towards some resources?

The user must use Excel for the timesheets and the format is not changeable so I must use code from within Access.

What I'm thinking of is 'click here to import timesheet'...

Thanks in advance!

Steve
"Call in an airstrike, with a poison kiss"

 
SkydivingSteve,
Will your Excel format support [tt]DoCmd.TransferSpreadsheet()[/tt]?

CMP

(GMT-07:00) Mountain Time (US & Canada)
 
Hi,
Is something like this what your looking for:


DoCmd.TransferSpreadsheet acImport, 8, "tblyourtable", "yourFilePathWay\YourExcelSheet.xls", True,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top