I don't think command buttons on Userforms have window handles.
You will have to work out the position of the button and move the cursor
accordingly.
RBS
"tom taol" wrote in message
...
thanks, but i want to how to know the handle of the commandbutton1 on a
userform1.
*** Sent via Developersdex http://www.developersdex.com ***