codice:Set fils = fol.Files count = 0 For Each fil In fils If LCase(fso.GetExtensionName(fil.Name)) = "gif" Then count = count + 1 Next fil MsgBox count
codice:Set fils = fol.Files count = 0 For Each fil In fils If LCase(fso.GetExtensionName(fil.Name)) = "gif" Then count = count + 1 Next fil MsgBox count