Visa ett inlägg
Oläst 2008-01-06, 14:25 #12
HenSod HenSod är inte uppkopplad
Flitig postare
 
Reg.datum: May 2005
Inlägg: 484
HenSod HenSod är inte uppkopplad
Flitig postare
 
Reg.datum: May 2005
Inlägg: 484
Jag är inte jätteduktig på VB, men jag tycker att det borde se ut såhär:
Kod:
.Pattern = "[\n]"
   
Set objMatches = .Execute(strNewText)

iCount = 0

For Each objMatch In objMatches
 iCount = iCount + 1
 strNewText = .Replace(strNewText,"<br />"&iCount&". ")
Next
HenSod är inte uppkopplad   Svara med citatSvara med citat