Hi
I have a macro that loops through the text boxes in a multi-page word document and shrinks the text if it's overflowing:
Code:
For Each oShp In ActiveDocument.Shapes
If oShp.Type = msoTextBox Then
Do While ActiveDocument.Shapes(oShp.Name).TextFrame.Overflowing
ActiveDocument.Shapes(oShp.Name).TextFrame.TextRange.Font.Shrink
Loop
End if
Next
Is there a nice little line I can out in here which I can use to tell the page number as the loop goes through? I have it in mind to display this on the statusbar so I get some indication of progress.
Thanks!