The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Activexserver to grab current open excel
Replies: 1   Last Post: Jul 23, 2009 9:02 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Tom Sweetland

Posts: 4
Registered: 2/4/09
Activexserver to grab current open excel
Posted: Jul 23, 2009 8:53 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Is there any way to make the activexserver command grab a currently open excel session?

If i use the typical:

excel = actxserver('Excel.Application');
file = excel.Workbooks.Open(filename);

it opens a new file each time. I would like the worksheet to remain open for user interaction and just have the activexserver update various values intermittently.

I used to do this with ddeinit, ddepoke, ddereq but these commands are no longer officially supported in matlab, so i would like to do this with the activexserver instead.



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.