Hourglass Method Example
The following example uses the Hourglass method to display an hourglass icon (or another icon you've chosen) while your Visual Basic code is executing:
DoCmd.Hourglass True