RTD function in Access

User avatar
agibsonsw
SilverLounger
Posts: 2403
Joined: 05 Feb 2010, 22:21
Location: London ENGLAND

RTD function in Access

Post by agibsonsw »

Hello. Access 2003

Excel has an RTD function to obtain real-time data from a server. Is this function then available to Access via Automation? That is, if I add a reference to the Excel Object Library,
would myXl.WorksheetFunction.rtd(..) work?
Thanks, Andy.
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.

User avatar
HansV
Administrator
Posts: 78391
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: RTD function in Access

Post by HansV »

If myXL is an object of type Excel.Application that you have created, you should be able to use

myXl.WorksheetFunction.RTD(...)

or even

myXL.RTD(...)
Best wishes,
Hans

User avatar
agibsonsw
SilverLounger
Posts: 2403
Joined: 05 Feb 2010, 22:21
Location: London ENGLAND

Re: RTD function in Access

Post by agibsonsw »

Thank you.
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.