nostra78
Messages postés137Date d'inscriptionjeudi 10 mars 2005StatutMembreDernière intervention 6 décembre 2005
-
30 mars 2005 à 15:59
galopin01
Messages postés133Date d'inscriptionlundi 4 octobre 2004StatutMembreDernière intervention14 octobre 2011
-
30 mars 2005 à 20:57
Existe t'il une propriété pour savoir si un classeur est déjà ouvert ou non???
Genre(mais qui marche pas)
If Workbooks("x") Is Open then
nostra78
Messages postés137Date d'inscriptionjeudi 10 mars 2005StatutMembreDernière intervention 6 décembre 2005 30 mars 2005 à 16:21
En fait c pour éviter l'erreur 9 l'indice n'appartient pas à la sélection.
If Workbooks("x") Is open then
Workbooks("x").Activate
Else
Workbooks.Open filename:=...
End if