Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Brian_369
 
Posts: n/a
Default Smart Tags and Stock Quotes

Hi,

I have a few questions regarding a custom smart tag that I am developing.
My client has a number of stock feeds in various formats. He would like a
smart tag in Excel to recognize custom symbols and then have an action
available to get the latest price from the web. I have created a class
library that implements the necessary interfaces (ISmartTagAction,
ISmartTagAction2, ISmartTagRecognizer, ISmartTagRecognizer2). The solution
works fine, but he would like the option to have the action performed
automatically once the text is recognized as a valid symbol as opposed to
manually clicking on the smart tag action for each stock quote. Does anyone
have any idea of how to do this? I am having trouble finding out how to
obtain a reference to the current Excel worksheet from Recognize2 method in
my Recognizer class. Also, he would like the option of having this action
performed based on the name of the file. For example, if the name of the
file contains the name of a stock feed, then the recognizer should go to work
and pull the latest price from the web for all valid symbols in the
worksheet. However, if he is working with another Excel file which happens
to contain a stock symbol, the action should be disabled.

Any help on this would be appreciated. Also, I would be interested to know
if anyone has any ideas of how I could accomplish these requirements using
another method instead of a smart tag.

Brian
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
Excel; Stock Quotes; Smart Tags: doesn't always recognize symbol. Sled Excel Discussion (Misc queries) 13 March 10th 06 12:21 AM
Smart Tags and Stock Symbols Greg Excel Worksheet Functions 1 February 13th 06 01:09 PM
recgonized stock symbols in smart tags rb1052 Excel Discussion (Misc queries) 0 February 13th 06 01:04 PM
How do I add smart tags to stock symbols in an Excel chart? laurel_i Excel Discussion (Misc queries) 0 January 17th 06 02:10 AM
smart tags and stock updates Tom_in_Jersey Excel Discussion (Misc queries) 0 December 14th 05 09:59 PM


All times are GMT +1. The time now is 10:57 AM.

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"