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

Access XP - best way to pull in Excel worksheet in automatically

Status
Not open for further replies.

mastro78

Programmer
Apr 10, 2007
70
US
I currently have a bunch of Excel spreadsheets (more to come) that reside in the same directory as my database. However, I want to run a function on the OnOpen event in my switchboard to pull the data into the specified table. Now, I'm wondering what is the easiest way to go about this? Please advise, thank you!
 
Have a look at the CurrentProject.Path property, Dir function and DoCmd.TransferSpreadsheet method.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top