Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old November 5th, 2007, 04:25 AM
Registered User
Join Date: Nov 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default importing excel data into access forms

i got the file name using the FileDialog.. now i need the contents of the excel workbook to be imported into a form(or a table) when a button is pressed so that i can update the contents and export them to the workbook.. Can anyone please help

Old November 7th, 2007, 01:27 PM
Authorized User
Join Date: Jan 2006
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts

do u know how 2 use macros?there are macros that perform import and export actions from and to other file formats,pls look at macros,design d actions in macro and attach the macro to the (on click event in a button),i hope this will help.
the name of the macro is
go 2 file menu,get external data-import then foloow the wizard to import from excel into a table in access.

create a form that has its record source source set to the imported table's name

3.after altering the data in access,then riaghj click the tavle and click on export then indicate the file u want to export to.bye

Similar Threads
Thread Thread Starter Forum Replies Last Post
Importing Excel Data into a new Dataset Juan Patrick Visual Basic 2005 Basics 2 July 4th, 2007 09:03 PM
Importing from Excel to Access table DeborahP Excel VBA 3 April 3rd, 2007 03:21 AM
Importing Excel sheet into Access using ASP prasanta2expert ASP.NET 1.0 and 1.1 Basics 1 October 5th, 2006 02:36 PM
Importing data from excel sheet to databaase jvraman SQL Server 2000 3 May 12th, 2006 12:00 AM
Importing from excel with missing data Lizu SQL Server DTS 4 September 21st, 2004 07:02 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.