PDA

View Full Version : Solved: Is there an Hourglass in Outlook



orange
12-18-2007, 10:31 AM
I have done very limited Outlook programming with vba. I have done a fair amount of Access vba. I'd like to turn the cursor to an Hourglass in the Outlook program while it is busy, but can not find a reference to using the Hourglass. Seems Docmd.... does not exist. Is there an equivalent?

Thanks,
orange

orange
01-02-2008, 07:12 PM
I see that no one has responded.

However, I did find out how to do this. A sample of the corresponding code is ...
Private Sub btnRemoveDups_Click()
'Turn cursor into Hourglass
btnRemoveDups.MousePointer = fmMousePointerHourGlass
Call jRemoveDups
'Turn cursor into Arrow
btnRemoveDups.MousePointer = fmMousePointerArrow
End Sub
where btnRemoveDups is the name of the control (in my case a button on a form). You set the cursor to Hourglass, call the function/process you want to show as busy ; then on completion you return the cursor to an arrow.