![]() |
|
#1
|
|||
|
|||
|
This macro below for some reason is not going through the whole document or all the words to covert, can someone help on this!!!!
We are using microsoft Word 2010. Thanks!! Sub Convert_AllCaps_FontFormatting() 'This macro goes through the document and checks the 'Font attributes on the Words for All Caps. 'If the attribute is found then it converts the 'words to actual All Capital Letters. For a = 1 To ActiveDocument.Words.Count ActiveDocument.Words(a).Select If Selection.Font.AllCaps = True Then Selection.Range.Case = wdUpperCase End If Next a End Sub |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Macro for highlighting specific number of words
|
icsjohn | Word VBA | 2 | 12-07-2011 06:44 PM |
Croatian characters such as a capital C w/ accent acute?
|
vhindley | Word | 3 | 07-08-2011 03:39 AM |
| Why the "Headings" are appearing in capital letters in the Table of contents? | Jamal NUMAN | Word | 1 | 05-31-2011 08:31 AM |
| safe sender list not workin | LA1976 | Outlook | 0 | 05-23-2011 03:27 AM |
| MS Project able to import actual start and or actual finish date from Excel? | mhacker | Project | 0 | 04-26-2010 11:29 AM |