Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 101
Default move mouse pointer to a default button(Enter) in messagebox


my worksheet have a button.
i press the the button. and then appear a messagebox.

And that time, i want to move the mouse pointer to the button(Enter), in
the messagebox automatically.
Perhaps, i think.... using win32api.
but i don't know.


*** Sent via Developersdex http://www.developersdex.com ***
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,163
Default move mouse pointer to a default button(Enter) in messagebox

If using a standard VBA MsgBox you have no control: your code pauses while
the MsgBox appears and waits for an answer.

The best solution is to replace the MsgBox with a userform, then you can
design it to do whatever you want.
--
- K Dales


"x taol" wrote:


my worksheet have a button.
i press the the button. and then appear a messagebox.

And that time, i want to move the mouse pointer to the button(Enter), in
the messagebox automatically.
Perhaps, i think.... using win32api.
but i don't know.


*** Sent via Developersdex http://www.developersdex.com ***

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
mouse pointer . . . again! lightbulb_bill[_2_] Excel Programming 1 August 15th 05 11:48 PM
messagebox without default button Peter Janssens Excel Programming 1 November 21st 04 03:55 PM
messagebox without default button Peter Janssens Excel Programming 0 November 21st 04 02:18 PM
Mouse pointer Simon Lloyd[_473_] Excel Programming 5 June 8th 04 07:08 PM
mouse pointer jim c. Excel Programming 0 September 6th 03 11:25 PM


All times are GMT +1. The time now is 09:43 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"