View Single Post
 
Old 12-01-2015, 09:29 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,518
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Try:
Code:
Sub Demo()
Dim i As Long, j As Long, strOut As String
With ActiveDocument
  For i = 1 To .Sections.Count
    With .Sections(i).Range.Characters.First
      If (.Font.Name = "Arial") And (.Font.Size = 11) Then
      Else
        strOut = strOut & vbCr & "Section " & i & " on page " & .Information(wdActiveEndAdjustedPageNumber)
      End If
    End With
  Next
End With
If strOut = "" Then
  strOut = "No Missing Captions"
Else
  strOut = "Captions Missing From:" & strOut
End If
MsgBox strOut
End Sub
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote