Share via


TextRange.InsertSlideNumber Method

Inserts the slide number of the current slide into the specified text range. Returns a TextRange object that represents the slide number.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Function InsertSlideNumber As TextRange
'Usage
Dim instance As TextRange
Dim returnValue As TextRange

returnValue = instance.InsertSlideNumber()
TextRange InsertSlideNumber()

Return Value

Type: Microsoft.Office.Interop.PowerPoint.TextRange

Remarks

The inserted slide number is automatically updated when the slide number of the current slide changes.

See Also

Reference

TextRange Interface

TextRange Members

Microsoft.Office.Interop.PowerPoint Namespace