BarCodeWiz Logo

Use Macros and VBA to Create Barcodes

Use BarCodeWiz UPC EAN 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 ("UPCEAN_SelectionToBC") 
End Sub 

The following functions are equivalent to clicking on UPC EAN Fonts BarCodeWiz toolbar:

  • Application.Run ("UPCEAN_Options") : Opens the Options window.
  • Application.Run ("UPCEAN_SelectionToBC") : Converts the selected text to barcode.
  • Application.Run ("UPCEAN_ConvertAll") : Converts each instance of text surrounded with brackets into barcodes.
  • Application.Run ("UPCEAN_Undo") : Undoes the previous operation.