Le 13/11/06, Bruno ABRATANSKI <[EMAIL PROTECTED]> a écrit :
Bonjour,
Bonjour,
Pb lors d'un recherche remplace je fais : postrouve = mondocument.findfirst(jecherche) boucle si postrouve = null sortir curseur = mondocument.text.cretaetextcursorbyrange(postrouve) curseur.string = "£" postrouve = mondocument.findnext(postrouve,jecherche) fin Lors du findnext j'ai une erreur comme quoi le type de la variable postrouve est incompatible alors que le findfirst a bien fonctionné ??
moi j'aurais fait : <code> postrouve = mondocument.findfirst(jecherche) boucle si postrouve = false sortir curseur = mondocument.text.cretaetextcursorbyrange(postrouve) curseur.string = "£" postrouve = mondocument.findnext(postrouve, ,jecherche) fin </code>
*Bruno ABRATANSKI** *
Manuel