S
Steved
Hello from Steved
I want to use the bottom vba please
Sub Word2()
Dim pPar As Word.Paragraph
Dim s As String
Dim p As Long
For Each pPar In ActiveDocument.Paragraphs
s = pPar.Range.Text
p = InStr(1, s, " ")
If p > 0 Then
p = InStr(p + 1, s, " ")
If p > 0 Then
pPar.Range.Text = Mid$(s, p + 1)
End If
End If
Next
End Sub
to Delete left Of Oscar's View and the right of it
as in the example below please ("only the first line and
leave the rest and then find the next" ) Thankyou.
Oscar's View
1. x9003 Oscar's View (3) 4g br
Oregon (USA)-Interview (by Wiganthorpe)
- (56)
Stats:
Trnr: Kenny Rae (Ruakaka/Cambridge)
Ownr: A L Richards
All 10:0:0:3:1
Prz $1,850
F 4:0:1
E 1:0:0
S 2:0:1
H 3:0:1
C 0:0:0
D 3:0:1 F90 2:0:0:0
F30 1:0:0:1
2Up 2:0:0:1 Fav 1:0:0:0
2 Fav 1:0:0:0
Win $0.00
Plc $2.12
Perf: CBRY 14 Aug 2004 7 dys 15 of 18 P-MdnSpec $27K 1800
E3.5 Bruce Herd 56 (9) 4/5 $9.90 1st: King Luskin 1:53.70
16.3L
AVON 25 Aug 2004 11 dys 10 of 11 MdnHwt $5K 1600 H5.2
Richard Eynon 63.5->60.5 (1) 2/2 $4.85 1st: Dollarahead
1:46.13 8.7L
WHAN 05 Jan 2005 - 9 of 14 Mdn $5K 1200 F2.4 Tony Allan
56 (4) 8/8 $17.55 1st: Universal Charm (AUS) 1:10.49 8.5L
HBAY 20 Jan 2005 15 dys 10 of 11 Mdn $5K 1400 F2.2 Hayden
Tinsley 56 (7) 7/7 $18.50 1st: Rhythm Dancer 1:24.45 7.3L
WELL 29 Jan 2005 9 dys 13 of 18 P-Mdn $14K 1400 F2.0 Sara-
Lee Kelly 56->54 (10) 18/18 $114.40 1st: Rokocoko 1:24.29
12.2L
HBAY 03 Mar 2005 33 dys 3 of 10 Mdn $5K 1200 F2.3 Chris
Carmine 56->54 (4) 10/10 $42.40 1st: Happy Harry 1:10.82
1.9L
-
I want to use the bottom vba please
Sub Word2()
Dim pPar As Word.Paragraph
Dim s As String
Dim p As Long
For Each pPar In ActiveDocument.Paragraphs
s = pPar.Range.Text
p = InStr(1, s, " ")
If p > 0 Then
p = InStr(p + 1, s, " ")
If p > 0 Then
pPar.Range.Text = Mid$(s, p + 1)
End If
End If
Next
End Sub
to Delete left Of Oscar's View and the right of it
as in the example below please ("only the first line and
leave the rest and then find the next" ) Thankyou.
Oscar's View
1. x9003 Oscar's View (3) 4g br
Oregon (USA)-Interview (by Wiganthorpe)
- (56)
Stats:
Trnr: Kenny Rae (Ruakaka/Cambridge)
Ownr: A L Richards
All 10:0:0:3:1
Prz $1,850
F 4:0:1
E 1:0:0
S 2:0:1
H 3:0:1
C 0:0:0
D 3:0:1 F90 2:0:0:0
F30 1:0:0:1
2Up 2:0:0:1 Fav 1:0:0:0
2 Fav 1:0:0:0
Win $0.00
Plc $2.12
Perf: CBRY 14 Aug 2004 7 dys 15 of 18 P-MdnSpec $27K 1800
E3.5 Bruce Herd 56 (9) 4/5 $9.90 1st: King Luskin 1:53.70
16.3L
AVON 25 Aug 2004 11 dys 10 of 11 MdnHwt $5K 1600 H5.2
Richard Eynon 63.5->60.5 (1) 2/2 $4.85 1st: Dollarahead
1:46.13 8.7L
WHAN 05 Jan 2005 - 9 of 14 Mdn $5K 1200 F2.4 Tony Allan
56 (4) 8/8 $17.55 1st: Universal Charm (AUS) 1:10.49 8.5L
HBAY 20 Jan 2005 15 dys 10 of 11 Mdn $5K 1400 F2.2 Hayden
Tinsley 56 (7) 7/7 $18.50 1st: Rhythm Dancer 1:24.45 7.3L
WELL 29 Jan 2005 9 dys 13 of 18 P-Mdn $14K 1400 F2.0 Sara-
Lee Kelly 56->54 (10) 18/18 $114.40 1st: Rokocoko 1:24.29
12.2L
HBAY 03 Mar 2005 33 dys 3 of 10 Mdn $5K 1200 F2.3 Chris
Carmine 56->54 (4) 10/10 $42.40 1st: Happy Harry 1:10.82
1.9L
-