Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / January 2006

Tip: Looking for answers? Try searching our database.

Providing status info during UDF calculations

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
R Avery - 24 Jan 2006 15:46 GMT
i have a set of UDFs which often take a long time to calculate.  they
go to SQL Server and upload and download requests and do a lot of
processing.  Since they take a long time, i would like to provide the
user status information, such as how many requests have been downloaded
so far, etc.

i have tried to use application.statusbar, but it appears to be locked
during excel calculation.  i have also tried to set the captions of my
own office.commandbarbutton, but they do not repaint themselves until
after calculation, even if i call doevents (which tends to destabilize
calculation anyway, which i would like to avoid).

the next thing i will try is to make a DLL with a blank VB6 form which
i'll use since it supports refresh or repaint methods.

however, since this seems like something that someone smart would have
done at one time, i would like to know if there is a nice, easy
solution that doesn't involve me having to distribute another DLL with
my addin.  Thanks in advance.

I am using WinXP, XL 2002.
Bill Martin - 24 Jan 2006 15:56 GMT
One nice canned solution is provided to us by Dave Pearson:

    http://www.cpearson.com/excel/Progress.htm

Good luck...

Bill
-------------
> i have a set of UDFs which often take a long time to calculate.  they
> go to SQL Server and upload and download requests and do a lot of
[quoted text clipped - 17 lines]
>
> I am using WinXP, XL 2002.
Dave Peterson - 24 Jan 2006 16:23 GMT
Chip Pearson.

> One nice canned solution is provided to us by Dave Pearson:
>
[quoted text clipped - 25 lines]
> >
> > I am using WinXP, XL 2002.

Signature

Dave Peterson

Bill Martin - 24 Jan 2006 16:54 GMT
Oops!  Temporary (?) brain fog.  No insult intended to either Dave *or* Chip.

Bill
------------------------
> Chip Pearson.
>
[quoted text clipped - 28 lines]
>>>
>>>I am using WinXP, XL 2002.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.