Option Explicit
Public h_list
Public l_list
Dim Silos(1 To 31) As New Classe1
Private Sub UserForm_Initialize()
....
Next
h_list = 162
l_list = 42
End Sub
Private Sub LBSilo4_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
If (X > 0 And Y > 0) Then
LBSilo4.Font.Size = 12
UFsilo.LBSilo4.Width = 100
LBSilo5.Visible = False
Else
LBSilo4.Font.Size = 8
LBSilo5.Visible = True
UFsilo.LBSilo4.Height = h_list
UFsilo.LBSilo4.Width = l_list
End If
UFsilo.LBSilo4.Width = 100
End Sub