![]() |
#2
|
|||
|
|||
![]()
oh the answer is as follows. the problems solved
Sub testz() For i = 1 To 100 pos = InStr(Range("e"&a).Value, "peter") With Range("e"&a).Characters(Start:=pos, Length:=5).Font .FontStyle = "Italic" End With Next a End Sub |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
d4okeefe | Word VBA | 18 | 06-30-2022 11:35 PM |
![]() |
Jamal NUMAN | Word | 4 | 07-08-2011 04:02 AM |
Can't use Bold and Italic | khmerguy | Word | 3 | 03-31-2011 12:48 PM |
![]() |
cornettd | PowerPoint | 1 | 05-10-2010 10:07 AM |