![]() |
#1
|
|||
|
|||
![]()
I'm trying to devise a code to return a specific character in a specific paragraph. Can someone help? Thanks!
Code:
Sub ChrSix() 'The sixth character in the first word of paragraph 5 is "." (Title.) With ActiveDocument If .Paragraphs(5).Range.Words(1).Characters(6) = "." Then MsgBox "Found" Else MsgBox "Not Found" End If End With End Sub |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Replacing font for a specific character | wagicz | PowerPoint | 1 | 03-16-2021 03:13 PM |
Add paragraph return between two specific character | jeffreybrown | Word | 2 | 03-30-2017 02:45 PM |
![]() |
dmarie123 | Word VBA | 10 | 07-20-2015 12:16 AM |
![]() |
caboy | Word VBA | 2 | 04-01-2015 07:00 AM |
![]() |
mohsen.amiri | Word | 2 | 02-19-2015 11:38 PM |