Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Extracting Data from External Source - Automatically

I would like to extract data that is contained in a
database. I want this extraction to be automated, every
10-minutes, and also allow the user to push a command
button to ensure all data is current.

This information will in turn be used to update a trend
graph for the parameters extracted.

Where do I begin??
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 38
Default Extracting Data from External Source - Automatically

I suppose one way is to create a couple of routines. The primary one would
be the macro that connects and retrieves the data from your database. Then
you would need one that uses the ontime method that loops every 10 minutes
and runs the primary macro. The other would be button_click event for your
button that runs the primary macro.

The ontime and click macros should be very simple, the primary one may take
slightly more effort
Paul D

"John C." wrote in message
...
I would like to extract data that is contained in a
database. I want this extraction to be automated, every
10-minutes, and also allow the user to push a command
button to ensure all data is current.

This information will in turn be used to update a trend
graph for the parameters extracted.

Where do I begin??



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,979
Default Extracting Data from External Source - Automatically

To extract data from the database, you can use MS Query (DataImport
External DataNew Database Query). Once the data in in Excel, you can
set the External Data range to refresh every x minutes (DataImport
External DataData Range Properties).

The External Data Range toolbar that appears when you select a cell in
the range has a refresh button that users could click to manually
refresh the data.

John C. wrote:
I would like to extract data that is contained in a
database. I want this extraction to be automated, every
10-minutes, and also allow the user to push a command
button to ensure all data is current.

This information will in turn be used to update a trend
graph for the parameters extracted.

Where do I begin??



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

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
How to remove an external data source Dinesh New Users to Excel 1 August 22nd 08 08:31 PM
External data source Question Boy Excel Discussion (Misc queries) 0 April 21st 08 07:44 PM
Need some help in re-organising data from external source Richie Excel Worksheet Functions 3 February 1st 07 12:07 PM
UNC for external data source Kirk P. Excel Discussion (Misc queries) 0 December 18th 06 04:31 PM
Extracting source data that I want Chris435435 Excel Discussion (Misc queries) 2 June 29th 06 05:18 PM


All times are GMT +1. The time now is 11:54 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"