Salut Paul, Fait une recherche d'après le code ascii (42 je pense). Ensuite passe via un petit code vba dans le genre :
Public Function Convert(myString) Dim myPos If myString = "" Then Exit Function myPos = InStr(1, myString, Chr$(42)) Do Until myPos = 0 myString = Left(myString, myPos - 1) & "2" & Right(myString, (Len(myString) - myPos)) myPos = InStr(1, myString, Chr$(42)) Loop Convert = myString End Function Tu peux appeler cette fonction en écrivant une formule du genre "=Convert(A1)" C'est peut être tordu mais cela semble foncitonner. Tordu aussi d'utiliser les * @+ "Paul" <[EMAIL PROTECTED]> Sent by: <CyberTech@lists.exmachina.net> 21/01/2005 08:23 Please respond to "CyberTech" To: "CyberTech \(CyberTech\)" <CyberTech@lists.exmachina.net> cc: (bcc: Gilles Wampach/CLEARSTREAM/GDB) Subject: [CCTK] Rechercher * dans excell pour remplacement .. Hi, J'ai un petit soucis, j'ai une base access dont les noms et adresses sont codés par un petit algorithme, un ancien programme. J'ai la clé de codage, donc pour travailler dans un autre programme, j'importe cette base dans excell et j'abuse de la fonction "remplacer" Exemple : remplacer "(" par la lettre A remplacer "e" par la lettre a et ainsi de suite ... Par ce système, j'ai presque récupéré toute ma base, pourquoi presque, parce que dans mes recherches je dois transformer * en 2, et vous savez que * est le caractère de recherche générique dans excell !!! Il sélectionne alors tous mes champs d'enregistrement, c'est pas vraiment ce que je recherche à faire ... Avez-vous une idée ? Merci d'avance, car vérifier + ou - 5000 clients c'est bof bof ! Amitié @+ Paul -- Cette liste vous est offerte par Emakina <http://www.emakina.com/> Emakina: technologie et creativite au service de vos projets Web. Desabonnement par email : <mailto:[EMAIL PROTECTED]> ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER -- Cette liste vous est offerte par Emakina <http://www.emakina.com/> Emakina: technologie et creativite au service de vos projets Web. Desabonnement par email : <mailto:[EMAIL PROTECTED]>