A
andreas
Dear experts:
below macro that I copied from some Online VBA tutorial works in Word
2007 but inexplicably not in 2003.
Any idea why?
Help is much appreciated. Thank you very much in advance. Regards,
Andreas
Sub readabilitystatistics()
Dim StatText As String
Dim rs As Variant
StatText = "Document Statistics:" & vbCr
For Each rs In ActiveDocument.readabilitystatistics
StatText = StatText & rs.Name & " - " & rs.Value & vbCr
Next rs
MsgBox StatText
End Sub
below macro that I copied from some Online VBA tutorial works in Word
2007 but inexplicably not in 2003.
Any idea why?
Help is much appreciated. Thank you very much in advance. Regards,
Andreas
Sub readabilitystatistics()
Dim StatText As String
Dim rs As Variant
StatText = "Document Statistics:" & vbCr
For Each rs In ActiveDocument.readabilitystatistics
StatText = StatText & rs.Name & " - " & rs.Value & vbCr
Next rs
MsgBox StatText
End Sub