
04-02-2009, 06:21 AM
|
|
Just another Excel nerd
Retired Moderator * Guru *
|
|
Join Date: Feb 2000
Location: Michigan, USA
Posts: 2,626
|
|
Quote:
Originally Posted by Josh Hazel
Yes both Modeless... still a bit new to the VBA (self taught, and im a sucky teacher) ... not sure what we mean about the Layout event handler? Do you have a link to a page I can read about it?
If Google = NoHelp Then PostHere = True
|
Instead of a Form_Move event that occurs when a form is moved in Visual Basic, Excel VBA has a Userform_Layout event that occurs when you move an Excel userform.
Code:
Private Sub UserForm_Layout()
Debug.Print Me.Top, Me.Left, Me.Height, Me.Width
End Sub
|
__________________
"The face of a child can say it all, especially the mouth part of the face." - Jack Handey
|