Reputation: 17488
I need to reinforce the structure of a Microsoft Word document.
EG:
Style Question here blah blah blah
Style Answer Here blah blahblah
The enforcement here would be the "Answer" style cannot be placed unless there is a "Question" style above it.
To do this I would use a Macro, so ideally I would like to call my Macro everytime the document is edited.
I have read through the Microsoft Office Word 2003 Visual Basic Reference but have not found any events that have this effect.
Does anyone know how to do this. Or anyone have any other ideas?
Upvotes: 2
Views: 899
Reputation: 11519
Or anyone have any other ideas?
You can have a button that open a custom dialog where the user can enter the question and answer and then press enter and then the dialog automatically format the question/answer correctly. Just one way to go..
Upvotes: 0
Reputation: 91376
This thread Event - Document Edited relates to events for Word documents, including the Change event. Perhaps it will help.
Upvotes: 1