Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 61
Default mousepointer

Hi everyone:

In excel, I have created an user form that may perform a rather long
process. So, I want to disable Excel, and change the mousepointer to
Hourglass. When done, change the mousepointer back to default, and enable
Excel. Does anyone know how to do this? I appreciate a code. Thanks for
all your help.

Bob


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default mousepointer

How about you leave the userform open, maybe with a label control that
displays "Working" prominently?

--
Jim
"Bob" wrote in message
...
| Hi everyone:
|
| In excel, I have created an user form that may perform a rather long
| process. So, I want to disable Excel, and change the mousepointer to
| Hourglass. When done, change the mousepointer back to default, and enable
| Excel. Does anyone know how to do this? I appreciate a code. Thanks for
| all your help.
|
| Bob
|
|

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 586
Default mousepointer

This will work for you!

Sub YourProcedure()

Application.Cursor = xlWait

'your code here

application.Cursor = xlDefault

End Sub

Hope this helps! If so, let me know or click "Yes" below.
--
Cheers,
Ryan


"Bob" wrote:

Hi everyone:

In excel, I have created an user form that may perform a rather long
process. So, I want to disable Excel, and change the mousepointer to
Hourglass. When done, change the mousepointer back to default, and enable
Excel. Does anyone know how to do this? I appreciate a code. Thanks for
all your help.

Bob



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 61
Default mousepointer

Thank you Ryan. I did not know Application has a Cursor property.

Bob

"RyanH" wrote in message
...
This will work for you!

Sub YourProcedure()

Application.Cursor = xlWait

'your code here

application.Cursor = xlDefault

End Sub

Hope this helps! If so, let me know or click "Yes" below.
--
Cheers,
Ryan


"Bob" wrote:

Hi everyone:

In excel, I have created an user form that may perform a rather long
process. So, I want to disable Excel, and change the mousepointer to
Hourglass. When done, change the mousepointer back to default, and
enable
Excel. Does anyone know how to do this? I appreciate a code. Thanks
for
all your help.

Bob





  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 586
Default mousepointer

You can go to the Object Browser in VBE and see all the properties, methods,
and events for all objects.

Hope this helps! If so, click "Yes" below.

--
Cheers,
Ryan


"Bob" wrote:

Thank you Ryan. I did not know Application has a Cursor property.

Bob

"RyanH" wrote in message
...
This will work for you!

Sub YourProcedure()

Application.Cursor = xlWait

'your code here

application.Cursor = xlDefault

End Sub

Hope this helps! If so, let me know or click "Yes" below.
--
Cheers,
Ryan


"Bob" wrote:

Hi everyone:

In excel, I have created an user form that may perform a rather long
process. So, I want to disable Excel, and change the mousepointer to
Hourglass. When done, change the mousepointer back to default, and
enable
Excel. Does anyone know how to do this? I appreciate a code. Thanks
for
all your help.

Bob






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cursors and Mousepointer Geoff Excel Programming 3 April 13th 08 04:55 PM
MousePointer Mangesh Yadav[_4_] Excel Programming 1 August 3rd 05 06:28 AM
Excel Macro mousePointer control Mary Excel Programming 0 July 5th 05 03:45 PM
Qn: MousePointer Michael Vaughan Excel Programming 2 September 6th 04 04:56 AM


All times are GMT +1. The time now is 10:15 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"