Utilitaire en Béta test

Hellboy

XLDnaute Accro
Re:Test

Bonjour

a mon de me faire ignorer :)







'Remplissage des TextBox...............................................
If longueur 500 Then
  plotb = 9
  y = 6
End If

Message édité par: Hellboy, à: 09/12/2005 16:16
 

Hellboy

XLDnaute Accro
Re:Test

Test



Private Function TrimDownColor(ByRef strCode As String, ByVal début_normal As String, ByVal début_mot As String, ByVal fin_mot As String) As String
   
Dim bytCar          As Byte
   
Dim intFindFirst    As Integer, intFindNext    As Integer, intFindNormal    As Integer
   
    intFind
Next = 1
   
On Error Resume Next
   
Do
        intFindFirst = InStr(intFindNext, strCode, début_mot)
        intFind
Next = InStr(intFindFirst + 1, strCode, début_mot)
        intFindNormal = InStr(intFindFirst, strCode, début_normal)
       
If Err Then
            Err.Clear
           
On Error GoTo 0
           
Exit Do
       
End If
       
If intFindNext = 0 Then
           
Select Case intFindNormal
                     
Case Is > intFindNext, 0
                               
If InStr(intFindFirst + 1, strCode, fin_mot & Chr$(32) & début_mot) > 0 Then
                                  strCode = Mid(strCode, 1, intFind
Next - 10) & Chr$(32) & Replace(strCode, fin_mot & Chr$(32) & début_mot, '', intFindNext - 9, 1)
                               
Else
                                  strCode = Mid(strCode, 1, intFind
Next - 9) & Replace(strCode, fin_mot & début_mot, '', intFindNext - 10, 1)
                               
End If
           
End Select
       
Else
             
Exit Do
       
End If
   
Loop Until InStr(intFindNext, strCode, début_mot) = 0
 
    TrimDownColor = strCode
 
   
On Error GoTo 0
End Function



Message édité par: Hellboy, à: 11/12/2005 05:00

Message édité par: Hellboy, à: 11/12/2005 05:04
 

Statistiques des forums

Discussions
312 493
Messages
2 088 949
Membres
103 989
dernier inscrit
jralonso