Thanks for the reply Govert.
I would like to explain my current setup a bit more, which I think I
will need to change to get working properly.
I currently have a "Topic" class, which I use to asynchronously fetch
data from a WCF service.
On my RTD server, I have a collection of "Topics" that grows as they
come through from Excel. RTD calls a function on "Topic" to async
fetch the data.
I do not currently have a timer on my RTD server, instead relying on
my "Topic" class to call UpdateNotify() on the RTD server through a
callback delegate, as the data comes back from the WCF service. Not
sure if this is the best thing to do, based on the whole Com
compartment idea, but does work nicely at the moment.
What I am struggling with is forcing my RTD server to update certain
formula values.
What I'm thinking to do is the following:
Lets say I implement a timer on my RTD, which, on tick, will only call
UpdateNotify() if any of the "Topics" in my collection are dirty.
Question is, how do I set a "Topic" as dirty from Excel on my RTD
"Topic" collection.
Is there another solution I'm missing? Could I implement something on
my current solution?
Thanks
On Mar 19, 5:28 pm, Govert van Drimmelen <
gov...@icon.co.za> wrote:
> Hi Johann,
>
> You need to call UpdateNotify() on the IRtdUpdateEvent interface you
> are given in ServerStart. Then Excel will call your RefreshData, where
> you tell Excel what has changed.
>
> The Excel RTD FAQ here:
http://msdn.microsoft.com/en-us/library/aa140060(v=office.10).aspx
> is a great introduction, and the Kenny Kerr articles are also very
> useful for this - here's onehttp://
weblogs.asp.net/kennykerr/archive/2008/11/13/Rtd3.aspx.