TableOfFigures.UpdatePageNumbers method (Word)

Updates the page numbers for items in a table of figures.

Syntax

expression. UpdatePageNumbers

expression Required. A variable that represents a 'TableOfFigures' collection.

Example

This example updates all tables of figures in Sales.doc.

Dim tofLoop As TableOfFigures 
 
For Each tofLoop In Documents("Sales.doc").TablesOfFigures 
 tofLoop.UpdatePageNumbers 
Next tofLoop

See also

TableOfFigures Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.