S
Steved
Hello From Steved
4.29x5x Band Of Colours
Using the below Macro will return
Band Of Colours Which is what I want
4.Band Of Colours
Using the below Macro will return
Of Colors missing the word Band
Please what do I need to do to the macro to allways give
me Band Of Colours
Dim s As String
Dim p As Integer
Selection.Paragraphs(1).Range.Select
s = Selection.Text
p = InStr(1, s, " ")
p = InStr(p + 1, s, " ")
s = Right(s, Len(s) - p)
Selection.Paragraphs(1).Range.Text = s
Thankyou.
4.29x5x Band Of Colours
Using the below Macro will return
Band Of Colours Which is what I want
4.Band Of Colours
Using the below Macro will return
Of Colors missing the word Band
Please what do I need to do to the macro to allways give
me Band Of Colours
Dim s As String
Dim p As Integer
Selection.Paragraphs(1).Range.Select
s = Selection.Text
p = InStr(1, s, " ")
p = InStr(p + 1, s, " ")
s = Right(s, Len(s) - p)
Selection.Paragraphs(1).Range.Text = s
Thankyou.