Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Automatic Value Calculation

Hi,

I need to write an Add-In for Excel that can provide the following
functionality:

User enters into any cell a function call like [=GetQuote('IBM', 10)],
result being the cell's value updating with a new IBM's Stock Quote every 10
seconds.

Assuming I have the Quote data available, is this possible? What are the
best ways to do it in Excel.

The ultimate goal is to distribute an Add-in to users interested in this
functionality.

If possible, I do not want to depend on Cell's coordinate.

Thanks for any help.

- vlad


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Automatic Value Calculation

Hi
have a look at the OnTime method to run a macro periodically:
http://www.cpearson.com/excel/ontime.htm

--
Regards
Frank Kabel
Frankfurt, Germany

"Vlad Zelenko" schrieb im Newsbeitrag
...
Hi,

I need to write an Add-In for Excel that can provide the following
functionality:

User enters into any cell a function call like [=GetQuote('IBM',

10)],
result being the cell's value updating with a new IBM's Stock Quote

every 10
seconds.

Assuming I have the Quote data available, is this possible? What are

the
best ways to do it in Excel.

The ultimate goal is to distribute an Add-in to users interested in

this
functionality.

If possible, I do not want to depend on Cell's coordinate.

Thanks for any help.

- vlad



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Automatic Value Calculation

Thank you for the suggestion!

I guess I was not clear about what I need. My problem is updating a cell
dynamicly, not timer-driven execution of a method.

I suppose I could collect 'CurrentCell' references in an Array and update
their values based on parameter passed, but I was wondering if there is a
better way.

Thanks again.

"Frank Kabel" wrote in message
...
Hi
have a look at the OnTime method to run a macro periodically:
http://www.cpearson.com/excel/ontime.htm

--
Regards
Frank Kabel
Frankfurt, Germany

"Vlad Zelenko" schrieb im Newsbeitrag
...
Hi,

I need to write an Add-In for Excel that can provide the following
functionality:

User enters into any cell a function call like [=GetQuote('IBM',

10)],
result being the cell's value updating with a new IBM's Stock Quote

every 10
seconds.

Assuming I have the Quote data available, is this possible? What are

the
best ways to do it in Excel.

The ultimate goal is to distribute an Add-in to users interested in

this
functionality.

If possible, I do not want to depend on Cell's coordinate.

Thanks for any help.

- vlad





  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Automatic Value Calculation

Hi
never uses this but Excel has a feature called Web Query ('Tools -
Import External Data'). You can set a refresh for this query (Think 1
minute is the best you can do)

--
Regards
Frank Kabel
Frankfurt, Germany

"Vlad Zelenko" schrieb im Newsbeitrag
...
Thank you for the suggestion!

I guess I was not clear about what I need. My problem is updating a

cell
dynamicly, not timer-driven execution of a method.

I suppose I could collect 'CurrentCell' references in an Array and

update
their values based on parameter passed, but I was wondering if there

is a
better way.

Thanks again.

"Frank Kabel" wrote in message
...
Hi
have a look at the OnTime method to run a macro periodically:
http://www.cpearson.com/excel/ontime.htm

--
Regards
Frank Kabel
Frankfurt, Germany

"Vlad Zelenko" schrieb im Newsbeitrag
...
Hi,

I need to write an Add-In for Excel that can provide the

following
functionality:

User enters into any cell a function call like [=GetQuote('IBM',

10)],
result being the cell's value updating with a new IBM's Stock

Quote
every 10
seconds.

Assuming I have the Quote data available, is this possible? What

are
the
best ways to do it in Excel.

The ultimate goal is to distribute an Add-in to users interested

in
this
functionality.

If possible, I do not want to depend on Cell's coordinate.

Thanks for any help.

- vlad






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
Automatic calculation BeckyW Excel Worksheet Functions 1 October 8th 07 09:59 AM
Automatic Calculation peacelittleone Excel Discussion (Misc queries) 6 March 15th 06 06:58 PM
Automatic Calculation JennyZurb Excel Discussion (Misc queries) 2 December 22nd 05 01:00 PM
Automatic Calculation raweber Excel Discussion (Misc queries) 0 August 22nd 05 08:31 PM
range.calculation with UDF not working when calculation is set to automatic Brian Murphy Excel Programming 5 October 14th 03 07:02 PM


All times are GMT +1. The time now is 07:11 PM.

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

About Us

"It's about Microsoft Excel"