Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


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

Topic: Any way to detect the progress of processes though actxserver with Excel
Replies: 1   Last Post: Jul 13, 2012 5:23 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Ian Shapiro

Posts: 1
Registered: 7/13/12
Re: Any way to detect the progress of processes though actxserver with Excel
Posted: Jul 13, 2012 5:23 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I'm trying to do almost exactly the same thing you are, with the additional step of writing to a single cell before I call the data refresh. It isn't the most elegant solution, but I was able to put together a quick method of waiting for the sheet to refresh before reading the cell contents:

ReportWorkbook.RefreshAll;
while 1
try
Range = get(Activesheet, 'Range', 'B4:F27');
ResultsCell = Range.value;
disp('done!')
break
catch
disp('waiting...')
continue
end
end



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

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2013. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.