Question : How do i restart page numbering in a footer for a new section.

I have a word document which has several sections and depending on the user, he needs to be able to click on a section and then select to restart the numbering for the section from 1 or continue numbering from the previous section.

The page number is already displayed in a table in the footer so i want to simply modify this number retaining the position and font as before.

I asume the easiest way to do this would be to have a button on a tool bar.
There is a custom toolbar which can be used for this. I dont know how to add an extra button to teh custom tool bar so i need some help on that as well please.

Thanks for your help

Gordon

Answer : How do i restart page numbering in a footer for a new section.

Gordon
You could use this macro.

Sub PageNumberFormatting()
Dim dlg As Dialog
ActiveDocument.Unprotect
Set dlg = Dialogs(wdDialogFormatPageNumber)
dlg.Show
ActiveDocument.Protect wdAllowOnlyFormFields, True
End Sub

Use Customize again. This time select 'Macros' and find the macro in the RH box. Drag the macro to the toolbar.
Random Solutions  
 
programming4us programming4us