JasonEnsor
Programmer
Hi Guys,
Just looking to pick some brains regarding an idea i have. For one of my current projects i am updating an exam paper generator using excel, word and vba. When in word the user clicks a button on my custom toolbar ro insert a new question. This then sets the relevant style for the question i.e question number, font etc. Currently i have no way of telling if a question goes over on to the next page until i check manually once the papers are submitted. If a question goes over 2 pages then the bottom line of the first page should read question continued on next page, and the top line of the second page should read Question x Continued (where x is the question number).
Do you guys have any ideas on if and how this could be done programmatically?
My initial thoughts would be to calculate how many lines can fit on a page and then keep track of how many lines the question has filled. I then considered using a new section for each question in the hope i could get word to use autotext or something similar to atleast put the section name and continued...however i don't think you can name a section break.
Anyone got any thoughts or ideas that might help?
Many Thanks
Jason
Just looking to pick some brains regarding an idea i have. For one of my current projects i am updating an exam paper generator using excel, word and vba. When in word the user clicks a button on my custom toolbar ro insert a new question. This then sets the relevant style for the question i.e question number, font etc. Currently i have no way of telling if a question goes over on to the next page until i check manually once the papers are submitted. If a question goes over 2 pages then the bottom line of the first page should read question continued on next page, and the top line of the second page should read Question x Continued (where x is the question number).
Do you guys have any ideas on if and how this could be done programmatically?
My initial thoughts would be to calculate how many lines can fit on a page and then keep track of how many lines the question has filled. I then considered using a new section for each question in the hope i could get word to use autotext or something similar to atleast put the section name and continued...however i don't think you can name a section break.
Anyone got any thoughts or ideas that might help?
Many Thanks
Jason