See:
https://www.msofficeforums.com/word-...html#post46903. Although the example there outputs multiple lines separated by a manual line break, you needn't have those line breaks. Obviously, too, you'd need to modify the code to test which content control is being exited and which content control the output is to go to in each case.