Hi!
Question 1: Is there a way to count the number of pages in a word document?
Question 2: The number i get from the counting of pages can i use that to put a text on that page´s header?
So like this..
Start counting... Document has 4 pages.
Add correct header to correct page!
Add the text "Beslut" to First page header
Add the text "Beslut" to Second page header
Add the text "Bilaga 1" to Third page header
Add the text "Bilaga 2" to Fourth page header
I have some problems constructing this funtcion..
But i believe that i must create a variable containing the pagenumber... Then i need to loop through every page to add the new header...
Question 1: Is there a way to count the number of pages in a word document?
Question 2: The number i get from the counting of pages can i use that to put a text on that page´s header?
So like this..
Start counting... Document has 4 pages.
Add correct header to correct page!
Add the text "Beslut" to First page header
Add the text "Beslut" to Second page header
Add the text "Bilaga 1" to Third page header
Add the text "Bilaga 2" to Fourth page header
I have some problems constructing this funtcion..
But i believe that i must create a variable containing the pagenumber... Then i need to loop through every page to add the new header...