Skip to main content
A typical application for B-Coder Pro is to either add barcodes to mailing labels or to insert barcodes into a mail merge document. The easiest way to do this is to use the Mail Merge tool in Word to create your merge documents or labels and then use B-Coder Pro to add the barcodes to the final merged documents containing all of your merge data. You would first set up your mail merge in Word as normal using the mail merge tool. After you set up your data source and insert your “merge fields” in the main merge document, you could select the merge field (or any static text) in your main merge document that you want converted to a barcode and change its style to a new style named “barcode”. (To create a new style, open the “Format” menu, select “Style” and then click the button marked “New” in the style dialog box. In the “New Style” dialog box, enter the name “barcode” and click the OK button.) Next, you would complete your mail merge as normal by selecting “Merge to New Document”. This will produce a final merge document with all of the data from the data source inserted into your labels or documents. Any merge fields or static text that you assigned the style “barcode” to in your main merge document would also have the style “barcode” in the final merge document. To fill in the barcodes, you could simply run a macro that searches through the final merge document looking for any text with the style “barcode” and replaces that text with a barcode created by B-Coder Pro. The following page contains an example macro that does just this. The following WordBasic macro (for Word 6 and Word 7) searches through a document looking for any text with the style “barcode”. If it finds any, it converts the text to a barcode.
Last modified on November 3, 2026