Public Sub clearimg() Dim obj As Image For Each obj In Image1 If obj.Index > 0 Then Unload Label1(obj.Index) Unload obj End If Next End Sub