View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
AP[_3_] AP[_3_] is offline
external usenet poster
 
Posts: 33
Default Prevent user moving the userform with mouse


I have a userform which is gradually moved downwards by a macro.

I would like to prevent the user from manually shifting the userform (by
dragging the title bar with the mouse). At the same time, I would like to
allow the buttons on the userform to be interactive with the user.

"UserForm1.Enabled = False" prevents the user from shifting the userform ...
but also disables all buttons on the userform!

Any help would be greatly appreciated.