BarCodeWiz Logo

Create Barcodes with VBA and Macros

Use BarCodeWiz Interleaved 2 of 5 Fonts functions in your own macros and VBA code

  • This macro is equivalent to selecting the cells A1 to A6 and clicking on Selection To Barcodes on the toolbar.
 
 
Sub MyMacro()
   Range("A1:A6").Select
   Application.Run ("ITF_SelectionToBC") 
End Sub                    
                

The following functions are equivalent to clicking on BarCodeWiz toolbar:

  • Application.Run ("ITF_Options") : Opens the Options window.
  • Application.Run ("ITF_Sequential") : Opens the Sequential Number Generator window.
  • Application.Run ("ITF_SelectionToBC") : Converts the selected cells to barcodes.
  • Application.Run ("ITF_Labels") : Opens the Labels Wizard to convert selected cells to barcode labels.
  • Application.Run ("ITF_Undo") : Undoes the previous operation.