Re le forum,
Voici mon problème avec ce code qui parait simple mais qui ne fonctionne pas.
Sub Compter()
nb = Workbooks.Count
If nb > 1 Then
Exit Sub
End If
If nb = 1 Then
UserForm1.Show
End If
End Sub
Le hic c'est que l'userform ne s'affiche jamais même si il n'y a qu'un classeur ouvert?!
Comment faire?
Merci.
Voici mon problème avec ce code qui parait simple mais qui ne fonctionne pas.
Sub Compter()
nb = Workbooks.Count
If nb > 1 Then
Exit Sub
End If
If nb = 1 Then
UserForm1.Show
End If
End Sub
Le hic c'est que l'userform ne s'affiche jamais même si il n'y a qu'un classeur ouvert?!
Comment faire?
Merci.