Shawn,
There are various resizer classes out there, most designed for VB5/6 forms
rather than VBA userforms, but you could edit to suit. e.g.
http://www.dutchthewiz.com/vb/api/
NickHK
"Shawn" <(E-Mail Removed)> ¼¶¼g©ó¶l¥ó·s»D:3D0C6471-198E-4FD4-9C6D-(E-Mail Removed)...
>I am using the following code to make the userform fill the entire screen:
>
> Private mlAppWindowState As Long
> Private Sub UserForm_Initialize()
> With Application
> mlAppWindowState = .WindowState
> .WindowState = xlMaximized
> Me.Move .Left, .Top, .Width, .Height
> End With
> End Sub
> Private Sub UserForm_Terminate()
> Application.WindowState = mlAppWindowState
> End Sub
>
>
> What I need is VBA to center the userform controls. Maybe I could put the
> controls inside a frame and I just need to the frame to center. I am not
> sure. But I need VBA to position the controls. Can someone get me
> started?
>
>
> --
> Thanks
> Shawn