473,395 Members | 1,554 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Importing specific MS Excel cells into MS Access Table

1
Hi all,

I am stuck and I need some help. The idea is to automatically collect data from an Excelsheet report that is being distributed multiple times per day. In this report there are only specific adresscells I am interested in. Therefore these need to imported into one MS Access table with each field representing a cell. In time this should build up to a complete table which I need for my analysis.

Example:
In xls file Wavehandover, the following cells need to be captured
cell 1: location column 2, row 4
cell 2: location column 5. row 3
cell 3: location column 7, row 8

Import data of cell 1,2,3 into Mytable field 1,2,3

This should be done repeately untill the directory which the Excel files are stored is fully captured. May be a long story, but is this doable?
Apr 13 '07 #1
1 6101
ADezii
8,834 Expert 8TB
Hi all,

I am stuck and I need some help. The idea is to automatically collect data from an Excelsheet report that is being distributed multiple times per day. In this report there are only specific adresscells I am interested in. Therefore these need to imported into one MS Access table with each field representing a cell. In time this should build up to a complete table which I need for my analysis.

Example:
In xls file Wavehandover, the following cells need to be captured
cell 1: location column 2, row 4
cell 2: location column 5. row 3
cell 3: location column 7, row 8

Import data of cell 1,2,3 into Mytable field 1,2,3

This should be done repeately untill the directory which the Excel files are stored is fully captured. May be a long story, but is this doable?
Try the following Method(s). In Excel:
  1. Select the specific cells to be included in a Named Range via the CTRL key
  2. Insert, Name, Define
  3. Add a Range Name then OK
  4. Save the Excel Spreadsheet containing the Named Range
  5. Close Excel
Open the Access Database you are using for the Import:
  1. File, Get External Data, Import
  2. Files of type Microsoft Excel (*.xls)
  3. Select Show Named Ranges, Next
  4. Select into a New Table
This has not been thoroughly tested, but it is worth a try.
Apr 14 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Edward S | last post by:
I budget for a Project in an Excel sheet as illustrated below. The months below are usually a 2 year period i.e. 24 months, though it could be over 24 months depending upon a Project. I then...
7
by: Darren | last post by:
I have been attempting to create a reservation planning form in excel that imports Data from an Access database and inserts that information automaticly into the correct spreed sheet and the...
11
by: Mr. Smith | last post by:
Hello all, My code can successfully open, write to, format and save several worksheets in a workbook then save it by a given name, close and quit excel. My problem is that if I try and do it...
8
by: harry | last post by:
Hi Folks: I'm trying to do something that looks simple, but I can't make it work right. It's Access 2000 on a Win2000 computer. I create a database with 5 columbs. The data I need to import...
9
by: jillandgordon | last post by:
I am trying to import an excel file into Access 97. It looks perfectly all right but, every time I try to import it, I get to the lst step and am told that it was not imported due to an error. ...
3
by: D.Stone | last post by:
I'm trying to import an Excel spreadsheet into an existing Access table using Office 2003. Ultimately, the plan is to do it programmatically using TransferSpreadsheet, but to check that the file...
1
by: thadson | last post by:
Hi, I'm trying to import specific cells from MS Excel 2000 spreadsheets to MS Access 2000 tables then move the spreadsheets to a different directory. I'm very new to this and I'm having trouble...
1
by: }{ | last post by:
Guys, I have a database that basically logs service calls. The calls table has entries for call no among other things. This call number field has a one to many relationship with another table...
2
anoble1
by: anoble1 | last post by:
I have a button in my database that when you hit tit, it imports just 1 excel sheet and puts it in a table. Works great. I am wanting to grab 4 more excel sheets from different locations and store...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.