Processing
 

how to format mcqs using ms word macro

18/09/2016 05:36#1

abcde123

Member

Joined at: 4 months ago

Post: 1

Thank: 0

Thanked: 0

I have text in the format

Q 1. q1text abcdde..... A 1. Answer 1 text.......... A 2. Answer 2 text...... A 3. Answer 3 text....... A 4. Answer 4 text...... Correct Answer: A  Q 2. Q 2. q2text abcdde..... A 1. Answer 1 text .......... A 2. Answer 2 text ...... A 3. Answer 3 text ....... A 4. Answer 4 text ...... Correct Answer: B  . . . Q 99. q3text abcdde..... A 1. Answer 1 text .......... A 2. Answer 2 text ...... A 3. Answer 3 text ....... A 4. Answer 4 text ...... Correct Answer: C 

I want it to be directly formatted into a Microsoft word table with each complete multiple choice question/answer set in 1 row, like in the image below:

how to format mcqs using ms word macro:-

I tried 'convert text to table' with 'separate text at' using special character @.

This works only for 1 row of the mcq by replacing say 'Question' with '@Question' but does not break at any other lines with special characters. So 'convert table to text' does not help me.

Similar articles

VBA regex matching over two lines

4 months ago - Reply: 1 - Views: 44

Table output to Word-2011 from Rstudio using knit

4 months ago - Reply: 0 - Views: 32

Write a Collection of paragraphs into a new document

4 months ago - Reply: 1 - Views: 70

how to write paragraphs without show to document

4 months ago - Reply: 1 - Views: 66

numericals in word macro

4 months ago - Reply: 1 - Views: 45

Can not find proofing tools

4 months ago - Reply: 0 - Views: 1

Possible values for <w:outlineLvl> in Word OOXML

4 months ago - Reply: 1 - Views: 7

C# restrict editing partial word paragraph

5 months ago - Reply: 2 - Views: 142

Macro translation Please (possible virus)

4 months ago - Reply: 1 - Views: 34

Doc/Docx Fastest Reading Method for Searching

4 months ago - Reply: 0 - Views: 1

Save embedded file / content from word

4 months ago - Reply: 0 - Views: 5

Counting words in Word document, including footnores

4 months ago - Reply: 1 - Views: 22

c# access extract word ole object

4 months ago - Reply: 1 - Views: 19

Using word wildcards to find unaccepted changes

4 months ago - Reply: 1 - Views: 45

vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re