Barcodes in Word with VBA

Use BarCodeWiz ActiveX Word macros in your VBA code

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

The following functions are equivalent to clicking on BarCodeWiz ActiveX toolbar:

  • Application.Run ("AX_Options") : Opens the Options window.
  • Application.Run ("AX_SelectionToBC") : Converts the selected text to barcode.
  • Application.Run ("AX_ConvertAll") : Converts each instance of text surrounded with brackets into barcodes.
  • Application.Run ("AX_Undo") : Undoes the previous operation.