cdr said:
How do you set the cursor to hourglass within MS Project? I have macros which
take some time to complete so I need to convert the cursor temporarily -
doesn't seem to be documented at all for MS Project
cdr,
I've used the MousePointer Property as part of a custom userform but
like you, on a quick search I couldn't find any clues as to how to
change the mouse pointer in the absence of a userform. What I usually do
with long running macros is to use the Caption Property of either the
Window or Application to show progress (e.g. % completion). The
StatusBar Property could also be used. I believe either of these methods
is better than an hourglass mouse pointer because an hourglass doesn't
tell much (i.e. the code could either be running merrily along or it
could simply be in a "hung" state). An actual status lets the user know
things are (or are not) progressing normally.
Hope this helps.
John
Project MVP