Code:
Private Sub Form_Resize()
    Me.Height = Me.Width
End Sub