I have multiple reports that are printed consecutively
through a macro. In order to keep page numbers in order I have a public function :
Public Function CountPages()
PageNumber = PageNumber + 1
CountPages = PageNumber
End Function
The last command I would like to have the macro execute is setting this back to zero. I'm not sure what macro command to use. Thanks.
through a macro. In order to keep page numbers in order I have a public function :
Public Function CountPages()
PageNumber = PageNumber + 1
CountPages = PageNumber
End Function
The last command I would like to have the macro execute is setting this back to zero. I'm not sure what macro command to use. Thanks.