Use macros and VBA to create Code 39 barcodes in Microsoft Word

Use BarCodeWiz Code 39 Fonts functions in your own macros and VBA code

  • This macro is equivalent to clicking on Selection To Barcode on the toolbar.
Sub MyMacro()
   Application.Run ("CODE39_SelectionToBC") 
End Sub                    
                

The following functions are equivalent to clicking on Code 39 Fonts BarCodeWiz toolbar:

  • Application.Run ("CODE39_Options") : Opens the Options window.
  • Application.Run ("CODE39_SelectionToBC") : Converts the selected text to barcode.
  • Application.Run ("CODE39_ConvertAll") : Converts each instance of text surrounded with brackets into barcodes.
  • Application.Run ("CODE39_Undo") : Undoes the previous operation.