Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA 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 October 16th, 2007, 05:43 AM
Registered User
 
Join Date: Oct 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Extracting data from excel spreadsheets

I have a folder which contains a number of excel spreadsheets. I want to know if there is a way of extracting the data in these spreadsheets to update fields in a MS Access database.

I'm sure there will be a way around this using VBA code but am not sure, so any help would be greatly appreciated.

Many thanks

 
Old October 16th, 2007, 06:48 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

The short answer is "Yes."

The longer answer depends on how you want to get the data. Do you want to import whole spreadsheets into existing or new tables, or take values from specific fields, or search the worksheets for values and get the data wherever you find those values, etc?


mmcdonal
 
Old October 16th, 2007, 07:28 AM
Registered User
 
Join Date: Oct 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I will need to take values from specific fields.

Basically I have external clients that send in a form generated on MS Excel. Each form they send in will have a unique number which matches up to an entry in the primary key field of the MS Access database.

I would like to be able to extract any data from these forms, that differs from the info in the matching record, into the database.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Extracting data from Spreadsheets in a folder IainAL VB How-To 2 April 20th, 2007 02:57 AM
Import Multiple Unknown Excel Spreadsheets in .Net bcarmen Excel VBA 1 January 31st, 2005 04:46 PM
Problem extracting DB contains to EXCEL mekh Pro PHP 4 March 30th, 2004 05:28 PM
excel: Extracting only selected cells. rachelrekkab Excel VBA 5 July 22nd, 2003 12:55 AM





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