Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question'déclare ca en haut de tre form Private Type Tmachin 'définition du type machin Couche As Integer Texte As string End Type 'puis t'as fonction Public Function findtag(ByVal texte As String, ByVal tagfin As String) As Tmachin 'fonction ki renvoi kelke chose du format de Tmachin Dim temp As String, L1 While temp <> "tagfin" position = InStr(1, texte, ">") L1 = Left(texte, position + 1) b = InStr(L1, "<") temp = Mid(L1, b, 8) layer = layer + L1 texte = Mid(texte, position + 3) Wend findtag.Couche = layer 'on entre les valeurs de la fonction findtag.Texte = text End Function 'ensuite tu récupère tes valers kom ca : kelkechose = findtag(argument1, argument2).couche 'et kelkechose = findtag(argument1, argument2).texte 'et voila