![]() |
#5
|
||||
|
||||
![]()
Found someting here
![]() Code:
Sub CommentMania() 'found here in forum :https://www.msofficeforums.com/word-vba/38890-macro-font-names-sizes.html 'done by Guessed / Andrew Lockton 2018-06-13 at 9:00 am Dim aRng As Range, aPara As Paragraph Set aRng = ActiveDocument.Range For Each aPara In aRng.Paragraphs If aPara.Range.Font.Size < 7 Then ' aPara.Range.Font.Name <> "Arial" aPara.Range.Font.Size = 8.5 End If Next aPara End Sub it doesn't highlight, but maybe we can figure it out, but at least it's shorther ![]() Note: with the single quote, I've just deactivated the original script. I often leave them in in case I need to tweek it for testing. but later on, I remove them. ***I've just removed most of them to not confuse anyone ![]() C |
Tags |
code, font macro, help please |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
thomasoj | Word VBA | 3 | 01-15-2020 06:26 AM |
![]() |
Swarup | Word | 31 | 08-28-2018 06:55 PM |
Word 10: need information typed to be in font of default selection instead of Template Font | 1SickPuppy | Word | 1 | 05-06-2017 03:00 PM |
Font size showing different (some superscripted??) but tools show its the same size? | mikkygee | PowerPoint | 4 | 12-14-2015 11:21 PM |
![]() |
WH7262 | Word VBA | 1 | 08-26-2014 03:46 PM |