BarCodeWiz Logo

Use Macros and VBA to Create Barcodes

Use BarCodeWiz Interleaved 2 of 5 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 ("ITF_SelectionToBC") 
End Sub                  

The following functions are equivalent to clicking on Interleaved 2 of 5 Fonts BarCodeWiz toolbar:

  • Application.Run ("ITF_Options") : Opens the Options window.
  • Application.Run ("ITF_SelectionToBC") : Converts the selected text to barcode.
  • Application.Run ("ITF_ConvertAll") : Converts each instance of text surrounded with brackets into barcodes.
  • Application.Run ("ITF_Undo") : Undoes the previous operation.