Look at the GetCursorPos and SetCursorPos API's.
RBS
"tom taol" wrote in message
...
userform1.show
After the following code ,and then I want to be focused with mouse
pointer to the specific button(for example, commandbutton1)
automatically.
Maybe, it would seem be used win32Api.
*** Sent via Developersdex http://www.developersdex.com ***