![]() |
#6
|
|||
|
|||
![]()
It is really impossible to "try" what you posted because what you posted doesn't compile.
Code:
Sub TestFonts() Dim bUniformFont As Boolean bUniformFont = True With ActiveDocument.Range If .Font.Name = "" Then .InsertBefore "Check Font Name" & vbCr bUniformFont = False End If If .Font.Size = 9999999 Then .InsertBefore "Check Font Size" & vbCr bUniformFont = False End If End With If bUniformFont Then MsgBox "The font used in your document is uniform. E.g., same font name, same fault size throughout." lbl_Exit: Exit Sub End Sub |
Tags |
font list, font size, macro |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
jnsiv50 | Excel | 1 | 01-22-2015 07:35 AM |
Increase Font Size in a List Box | Phil H | Excel | 2 | 12-09-2014 08:40 AM |
![]() |
WH7262 | Word VBA | 1 | 08-26-2014 03:46 PM |
![]() |
shaukat74 | Word VBA | 1 | 01-29-2013 09:34 PM |
Format Font Size in Combo Box List | lukewarmbeer | Word VBA | 0 | 08-27-2011 07:28 AM |