access-course - import data excelcsv file
Microsoft Office TrainingThe UK's Number 1 for Microsoft Office Training Sitemap add this page to your favourites/bookmarksBookmark page
 
view a printable version of this pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Access Training and help » access-course - Import data from Excel/Csv file

access-course - Import data from Excel/Csv file

resolvedResolved · Low Priority · Version Standard

replyReplyMon 18 Dec 2006, 12:20Delegate Rodney said...

Import data from Excel/Csv file

Good Afternoon,

Please can you advise if it is possible to be able to set-up a macro that import data (From excel) from a designated directory.

I.e. if my list of units is saved in an excel spreadsheet, and is updated in Excel on a regular basis, and I would like access to just pick up this data and update the table. The headings will also been the same, just further data is added.

Thanks

Rodney

For upcoming training course dates see: Pricing & availability

replyReplyTue 19 Dec 2006, 14:24Trainer Andrew said...

RE: Import data from Excel/Csv file

Hi Rodney

Thanks for your question. Whilst setting up macros may achieve the result you are looking for you might find it easier to use a built-in Access feature instead.

With your database open go to the File menu and choose Get External Data then choose Link Tables. From the dialogue box that appears navigate through to your Excel workbook, select it and click on OK.

The import spreadsheet dialogue box appears. Choose the sheet that contains the table of data you are interested in (or choose named ranges if you created a range for your data) and then click Next.

Access asks if the first row contains column headings - select the appropriate option. Click Next to decide where the information should be stored in Access (in a new or exisiting table). The remaining steps of the wizard take you through naming the fields of data, optionally adding a primary key and finally naming your table.

In your list of tables you should see the icon for your new table has an arrow beside it indicating that the data in the table is in fact stored outside of the database.

If your records change in Excel then the data will be automatically updated in Access (and vice versa)

Hope this helps Rodney - do let us know if you have any further questions.

Kind regards,

Andrew


 

 

Access tip:

Closing form after a certain time period

To make a form close automatically after a certain time period, you need to assign the close function to a macro.

Save the macro and ope up the form in design view. open the Properties sheet.

In the TimerInterval property enter the length of time you want the form open for. This should be in milliseconds, so for instance if you want the form open for 5 seconds enter 5000, for an minute enter 60000.

You now need to attach your macro (to execute the Close action) to the OnTimer event property of the form.



View all Access hints and tips


Rate this page:
2.2/5 (213 votes cast)
Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses
Microsoft Certified Partner
Security Seal verified by visa, mastercard securecard

Mini sitemap. These are the main areas of our web site. Full sitemap.

Management training

Professional Skills courses
Project Management Course London
Project Management Courses London
Project Management Training London
Project Management Training
Project Seminar
Project Seminars
Time Management Course London
Time Management London
Time Management Courses London
Time Management Training London
Introduction to Finance course
Assertiveness Skills course
Effective Communications Skills training
Presentation Skills London

Training Formats

Public scheduled courses
On-site training
Closed company courses

Consultancy
Application Development

Blogs

Excel Training
MS Project Training
Microsoft Training Blog

Version differences

Office 2010 vs 2007
MS Project version differences

Training Information

London Computer Training
Computer Training London
Docklands Training Courses
Docklands Training London

Training venues London
Client list
FAQ
Pricing and availability
Course details / Syllabus

Training Articles
Training Information

Microsoft training

Microsoft Office training
& IT Applications

Microsoft Project training
Microsoft Outlook training
Microsoft Powerpoint training
Microsoft Word training
MS Project courses
MS Project training
Outlook courses
PowerPoint courses
PowerPoint training
VBA courses
Word courses
Microsoft.training
(more...)

Excel Training

Excel courses
Excel Training Courses Medway
Autonumber in Excel
Microsoft Excel training
Basic Excel Courses
Basic Excel Course
Basic Excel Training

Interested in MS Access training?

Access courses
Microsoft Access training
Microsoft access courses
Microsoft training access course
Microsoft+access+training
Access courses in london

Training provider

Training providers
IT training companies
IT training providers
Management Training providers
Management Training provider

Event history, feedback results
Events in 2012 · 2011 · 2010 · More

See also

Crystal Reports training