Hi, thank you so much for replying with your code, its certainly a lot tidier than my effort. There is just something I still need to add which I tried to at the end of Demo1 - if there is punctuation other than a semi colon or no punctuation before the words "and" "or" "then" etc. then insert a semi colon before these words so they are "; and" instead of ", and" or " and". Would that be possible to include. Thank you.
Capture.JPG