1.Open up Word, click on "Setup".
2.Choose a few appropriate values for DataMatrix configurations, click on "Apply" button to allow the changes to take effect. If the string contains some Unicode texts (Japanese, Chinese, Korean, etc), toggle on "Unicode Message?" check box, so the VBA macro code can apply the special treatments to those Unicode characters.