Skip to main content
The following is a simple example of a Microsoft Word macro that copies the currently selected text to the clipboard, opens a DDE link to B-Coder Pro, generates the barcode and finally pastes the barcode into the document replacing the selected text. Note: B-Coder Pro must be running when the following macro is run from within Word.
Last modified on November 3, 2026