Re : Macro fonctionne sur xl2010 mais pas sur xl2013
Bonjour Patrick,
Tout a fait vrai, le malade va mieux, j'ai isolé les bouts de code 1 à 1 jusqu'à trouvé le problème. C'est la protection déprotection des feuilles qui me pose soucis.
J'ai plus qu'à trouver la bonne syntaxe pour excel 2013. Pour le moment mon fichier remarche je suis content.
Si qq'un connait la bonne syntaxe je suis preneur, sur 2010 ça marchait avec :
Sheets("feuil 1").Unprotect Password:="papapoum"
ThisWorkbook.Sheets("feuil 1").Protect UserInterfaceOnly:=True, Password:="papapoum", Scenarios:=True, AllowFormattingRows:=True
Merci à tous.
Jack