![]() |
#16
|
|||
|
|||
![]() Quote:
If not for the trimming and replacement of double spaces, formatting could be preserved by replacing Code:
.Text = StrTmp Code:
Dim i As Long For i = 1 To .Characters.Count .Characters(i).Text = Mid$(StrTmp, i, 1) Next |
#17
|
||||
|
||||
![]()
Did you at least try the code in post #3?
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#18
|
|||
|
|||
![]()
Yes, I entered in all the code in post #3 and ran the second snippet on a selection in which some words were in a different font. Character formatting was lost.
|
![]() |
Tags |
text conversion, title case |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
creating a new TITLE property from text already within document | smndnm | Word VBA | 6 | 07-04-2014 08:27 PM |
Stop review query when small case at beginning of line | dsrose | Word | 2 | 01-22-2014 12:19 AM |
![]() |
Marrick13 | Word VBA | 14 | 12-11-2013 09:12 PM |
![]() |
tinfanide | Excel | 2 | 09-13-2011 05:08 AM |
![]() |
davers | Word | 1 | 04-30-2009 12:41 PM |