View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Rick Brown Rick Brown is offline
external usenet poster
 
Posts: 3
Default UserForm_Layout code Me.Move 0, 0 don't work

On my XP system running Office2003 I use the below code to stop anyone
from dragging my UserForm thus exposing Excels menus. All works well
on the XP machine but does not snap the form back to 0,0 on a machine
running Win2000 and Excel97.
WHY??????

Private Sub UserForm_Layout()
Me.Move 0, 0
End Sub

Is there other ways to accomplish this goal.

Rick