Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default makro to log info in Access

I want to extract data from a large number of identical spreadsheets. I have
written a program in Access that can extract values from specified cells in
an Excel-file.

I want to specify the Excel-cells in a semi-automated way - to avoid manual
errors. I want to generate a list of field name and data cell. The "field
name" is typically a label in a cell next to or above the "data cell" with
the data value. So my list should look like e.g.:

Car Make, B2
Engine Size, B3
Wheel Distance, D2
Tank Volume, F12
....

Ideally I want to generate the list by selecting (double clicking) the cell
with the "field name" and then the cell with the data value.

If I simultaneously could see how my list is made - that would be really
good - i.e. have another window where I can see the selected values be
inserted - that would add to the quality! The list should idealy be in Access
- as my program then could use it directly.

So - How do I make a routine where I select cells and generate my list?

--
Diane
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default makro to log info in Access

The way I usually start writing a macro that extracts data from access is by
using a record macro and then manually go through the operations to extract
the data. Then I modify the macro to make it more general purpose.

1) Worksheet menu - Tools - Macro - Record Macro
2) Worksheet menu - Data - Import External Data - New Database Query - MS
Access Database
3) Then run a query.
4) Post macro that is generated by Excel so we can help modify the macro as
necessary.

"DianePDavies" wrote:

I want to extract data from a large number of identical spreadsheets. I have
written a program in Access that can extract values from specified cells in
an Excel-file.

I want to specify the Excel-cells in a semi-automated way - to avoid manual
errors. I want to generate a list of field name and data cell. The "field
name" is typically a label in a cell next to or above the "data cell" with
the data value. So my list should look like e.g.:

Car Make, B2
Engine Size, B3
Wheel Distance, D2
Tank Volume, F12
...

Ideally I want to generate the list by selecting (double clicking) the cell
with the "field name" and then the cell with the data value.

If I simultaneously could see how my list is made - that would be really
good - i.e. have another window where I can see the selected values be
inserted - that would add to the quality! The list should idealy be in Access
- as my program then could use it directly.

So - How do I make a routine where I select cells and generate my list?

--
Diane

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using VLOOKUP to look up info from Access Michelle Excel Worksheet Functions 0 June 7th 09 04:53 PM
access to info from windows and unix servers EdStevens[_2_] Excel Programming 0 September 1st 06 03:53 PM
Pull info from access to template in excel????? jwr Excel Programming 6 August 27th 05 03:52 AM
info in Excel import into Access to combine multiple records then. farm dog dad Excel Programming 1 July 1st 05 12:38 AM
Importing access database info into excel jwr Links and Linking in Excel 2 April 11th 05 02:13 PM


All times are GMT +1. The time now is 12:25 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"