Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / January 2007

Tip: Looking for answers? Try searching our database.

Newbie to API needs to take next step

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
TEB2 - 22 Jan 2007 18:32 GMT
I'm using the API @ http://www.mvps.org/access/api/api0001.htm? and it
displaying the files in the directory that I want.

How do I then import the Excel file the user chooses?
Douglas J. Steele - 22 Jan 2007 19:48 GMT
Assuming the full path to the file is in strInputFileName, as in the example
at the top of that page, you'd use something like:

DoCmd.TransferSpreadsheet acImport, , "TableName", strInputFileName

Signature

Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

> I'm using the API @ http://www.mvps.org/access/api/api0001.htm? and it
> displaying the files in the directory that I want.
>
> How do I then import the Excel file the user chooses?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.