Make the ShowModal property of the UserForm = False. This allows the focus to be moved to the document. The user can move around and edit.
To resize, what I do is have a Label across the top of the form, The caption is "Shrink / Expand". On the Label_Click event I put position and sizing instructions.
Say the fully open form is: Height = 130, Width = 300, Top = 200, Left = 200. The following toggles between fully displayed, and shrunk and moved to the top of the screen.
Sub Label_Click ()
If Me.Height = 130 Then
With Me ' shrink form and place at top of screen
.Height = 22
.Width = 100
.Top = 0
.Left = 250
End With
Else
With Me ' expand form to position
.Height = 130
.Width = 300
.Top = 200
.Left = 200
End With
End If
End Sub
Just make sure you keep enough of the actual form visible in the smaller size! It is possible using API to have a click title bar event, but there is no easy way in VBA. Clicking the title bar will not fire the resizing event. At least a small part of the form has to be visible - in that part is my label, so it can be clicked.
Gerry