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 / Importing / Linking / December 2005

Tip: Looking for answers? Try searching our database.

Exporting data

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
luis.a.roman@gmail.com - 29 Dec 2005 18:40 GMT
Is it possible to create a macro in access to get an excel file and
loaded automatically to specific table?

I understand the I can use the export/import access wizard but would
like to automate the process.

Suggestions, examples or web links that I can search for this will be
appreciated.

Business problem: Macro to upload excel spreadsheet automatically to an
existing table.

Luis
James D. Smooth - 29 Dec 2005 18:50 GMT
If you are using Marcos, then I would suggest using the
TransferSpreadsheet option.

If the file is on a server be sure to map the entire drive path,
exclude Drive Letters as it will cause issues down the road.

Once you choose TransferSpreadsheet you will need to at a minimum fill
in the following options.

Transfer Type = in your case this would be Import
Spreadsheet Type = the version of excel file
Table Name = Name of the table in the current database
File Name = \\server location\file name.xls
Has Field Names = is the first row of the spreadsheet containing the
same names as in the table Yes or No?
 
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.