ListNumberStart Property

Microsoft Publisher Visual Basic

ListNumberStart Property

Sets or retrieves a Long that represents the starting number of a list. Read/write.

expression.ListNumberStart

expression    Required. An expression that returns a ParagraphFormat object.

Remarks

Returns an "Access Denied" message if the list is not a numbered list.

Example

This example sets the list type of a ParagraphFormat object to pbListTypeArabic and sets the ListNumber property to 4.

      Dim objParaForm As ParagraphFormat

Set objParaForm = ActiveDocument.Pages(1).Shapes(1) _
.TextFrame.TextRange.ParagraphFormat

    With objParaForm
        .SetListType pbListTypeArabic
        .ListNumberStart = 4
    End With

End Sub