Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.access.externaldata,microsoft.public.excel.programming
|
|||
|
|||
![]()
I am looking for the a way to address the following scenario, there are a
number of different options but I would like to hear opinions on the best approach. I have an Access database with a table of stock codes I wish to periodically obtain the price of from the web for each code in the table. Once the price has been "read" from the web I would like to store it in a price history table. The options to date I have a Solution: Code in Access to create and Excel object, perform a web query for each stock code then read and store the value in Access Problem: Controlling the Excel web query from Access Problem: Knowing when each web query has completed before attempting to read the value, store it the loop again Solution: Code in Excel to access the database, read the codes table, perform web query, store the value in the database. Problem: Using two applications as opposed to one as the database is the main app Problem: Knowing when each web query has completed before attempting to read the value, store it the loop again I have read an article about linking a HTML page to access as a table however I have been unable to get it to work, however this would be linking and then relinking the table for each stock that I need to check the price of. Comments welcomed and thanks. |
#2
![]()
Posted to microsoft.public.access.externaldata,microsoft.public.excel.programming
|
|||
|
|||
![]()
Check out this website:
http://www.vertex42.com/News/excel-web-query.html It's a primer on Excel web queries and includes a template for pulling multiple stock prices. Does that help? *********** Regards, Ron XL2002, WinXP-Pro "Murphy" wrote: I am looking for the a way to address the following scenario, there are a number of different options but I would like to hear opinions on the best approach. I have an Access database with a table of stock codes I wish to periodically obtain the price of from the web for each code in the table. Once the price has been "read" from the web I would like to store it in a price history table. The options to date I have a Solution: Code in Access to create and Excel object, perform a web query for each stock code then read and store the value in Access Problem: Controlling the Excel web query from Access Problem: Knowing when each web query has completed before attempting to read the value, store it the loop again Solution: Code in Excel to access the database, read the codes table, perform web query, store the value in the database. Problem: Using two applications as opposed to one as the database is the main app Problem: Knowing when each web query has completed before attempting to read the value, store it the loop again I have read an article about linking a HTML page to access as a table however I have been unable to get it to work, however this would be linking and then relinking the table for each stock that I need to check the price of. Comments welcomed and thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Convert hard coded query criteria to Parameter Query | Excel Discussion (Misc queries) | |||
Excel 2007 / MS Query - editing existing query to another sheet | Excel Discussion (Misc queries) | |||
Importing Data via Web Query - Can values be passed to query? | Excel Discussion (Misc queries) | |||
Anyone Else Use Database Query to Query Another Sheet in the Same Excel Workbook? | Excel Discussion (Misc queries) | |||
How to use a Access Query that as a parameter into Excel database query | Excel Discussion (Misc queries) |