I want to use the Mail Merge function in Word to generate name badges to a conference. (Office 365, Word as a local desktop app under Windows.) The data is supplied in an Excel file. One of the fields should be displayed as a QR code.
I found some documentation about the DISPLAYBARCODE and MERGEBARCODE field commands and some great instructions on exactly how to do this. I followed this one:
https://hubpages.com/technology/Mail-Mergeable-Barcodes-in-Microsoft-Word-2013-aka-Bar-Codes
In the screen dumps below, you see what it looks like when (a) showing internal field codes (b) hiding internal codes without Preview Results and (c) with Preview Results.

(a) is exactly as the instructions in the link - with the field expression { DISPLAYBARCODE "{ MERGEFIELD QRcode }" QR \s 100 \q 3 } (b) displays the QR code. But in (c) (or when choosing "Finish & Merge") I get an error: "Data length is not supported by current type".
The QR data is blank - it seems like it isn't possible to make a MERGEFIELD reference inside DISPLAYBARCODE. But it should work according to the link above - and the QR code is displayed in (b).
There are other links recommending using MERGEBARCODE instead:
https://superuser.com/questions/1010960/use-a-mergefield-as-data-for-a-displaybarcode-field
https://support.office.com/en-us/article/field-codes-mergebarcode-812fc43f-cb53-4782-8f9f-290ed08d34f3
I've tried this - using the field expression { MERGEBARCODE QRcode QR \s 100 \q 3 } It is accepted (displayed as «QRcode QR code» in the (b) view), but nothing is shown in the (c) view (or when "Finish & Merge").
I would be VERY grateful if you can help me! :-) Maybe I just need to adjust the syntax. But I've tried all the alternatives I can think of...
PS. Another user having the same problem: https://answers.microsoft.com/en-us/msoffice/forum/all/qr-codes-from-access-2013-using-mail-merge/8176e7e1-8f4b-4afe-81d0-8e343c82edc4