Sandieslover
09-23-2004, 04:51 AM
Hi,
what code do I have to use to determen the current pagenumber?
I've tried to use some code
Pagnr = wdPageNumber but for some reason this wdPageNumber is set to 7 and the code won't run beyond this page.
As I have to run a macro through all the documents pages, perhaps there is some otherway to stop the macro at the end of the last page.
Regards,
Sandieslover
what code do I have to use to determen the current pagenumber?
I've tried to use some code
Pagnr = wdPageNumber but for some reason this wdPageNumber is set to 7 and the code won't run beyond this page.
As I have to run a macro through all the documents pages, perhaps there is some otherway to stop the macro at the end of the last page.
Regards,
Sandieslover