I don't know much MS Office VBA. I have tons (literally) of quiz questions in word files.
Task is to create question papers for students. Word file contains 900 quiz questions categorized chapter wise. Here is the structure of a word file:
H1: Chapter Name
H2: Level-1 questions
li: Questsions (numbered list)
H3: Answer key to Level-1 questions
li: Answers to level-1 questions (numbered list)
H2: Level-2 questions
H3: Answer key to level-2 questions
li: Answers to level-2 questions (numbered list)
H1: Another Chapter Name
...
...
I want to generate tests (other word files) randomy from my question bank. Few conditions are:
- At least 1 question must be picked from each chapter and each level.
- The question that is already picked must not be picked into any other test.
Also the answer key must be generated for that generated test.
Question:
- Is it too much to expect from Office VBA? or can it be done?
- How to do it? What all things do I need to look into?
I've no clue about what to do or how to proceed.