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 / Forms / November 2007

Tip: Looking for answers? Try searching our database.

code for auto import from excel to Access97

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sparky - 19 Nov 2007 15:10 GMT
Thanks for the previous help.

I now need some direction in setting code to automatically import data from
excel into Access97.

I have set up my queries for the import, and it works like a champ. Before I
can run that query, I have to manually import the excell data into a
specially named table.    I would like a command that would allow the
importing of the excel data (.csv) into the specially named table, then
append that data into 3 seperate tables, which is done using my queries.  

I would like this command to be placed in one of my "switchboard" menus, but
I don't see the correct way to do this, short of building code.  

If I have to build code to do this, I was hopeing someone could spell it out
for me, as I don't have any code knowledge.

Let's call the data to be imported  from excel "exceldata", and the Access
table it is imported into "Table1".  The 3 tables that the data will be
appened into will be called "Table2", "Table3" and "Table 4".  Of course,
these are not the real names, but used to make this posting easier.

Anyone able to direct me to the correct way to do this?

Thanks in advance.

Rick Miell
Ken Snell (MVP) - 19 Nov 2007 16:24 GMT
Check out the TransferText action for a macro, or the DoCmd.TransferText
method for VBA.

Signature

       Ken Snell
<MS ACCESS MVP>

> Thanks for the previous help.
>
[quoted text clipped - 27 lines]
>
> Rick Miell
 
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.