New User? Sign Up  |  Sign In  |  Help
Barcode support and
tutorials from IDAutomation
and the community.
Click for the BBB Business Review of this Computers Hardware, Software & Services in Tampa FL
Resolved Questions

How to create barcodes in Excel using Universal Fonts?

How to create barcodes using the Universal Font Package or Code 128 Universal Fonts in Excel 2013?

Operating System: Windows

Application: Excel

03-03-14     9.9 year(s) ago    

  Report Abuse

 

Ben

Best Answer

To create barcodes using a font, two components are required:
(1) Barcode Font
(2) Font Encoder

A font encoder is a component that takes the data that will be converted to a barcode and formats it into another form of data that the barcode font can understand. The IDAutomation Universal VBA Macros is a font encoder included in the Universal Font Package or Code 128 Universal Font Package that encodes data for Excel and Access. This tutorial uses Excel 2013 as an example.

This tutorial uses the Universal Font Package
IDAutomation Universal Font Package or Code 128 Universal Font Package (Sale version) is downloaded and installed.

1. Download the Universal Font Package (Demo or Sale) or the Universal Code 128 Font Package.


2. To extract the file, right-click it and select Extract All.
image


3. Double-click to run the EXE installation for the Font Package.
image


4. After the font package installs, navigate the package to the VBA folder. This includes the IDAutomation_UniversalFont_VBA.bas that will be imported into Excel's Visual Basic Editor. Remember the location of the file.
image
(Edited 2/27/2017)

5. Open Excel and select the Developer Tab.
image


6. Select the Visual Basic icon.
image


7. To import the IDAutomation_UniversalFont_VBA.bas, select File--Import File and navigate the VBA folder in the Universal Font Package.
image


8. The Universal VBA is placed in the Modules folder.
image

NOTE: Only import one instance of the IDAutomation_UniversalFont_VBA. If multiple IDAutomation_UniversalFont_VBA files (with the same file name) are in the modules folder, an "ambiguous name error" with #NAME will occur.




9. Select File--Close and Return to Microsoft Excel.

_____________________________________________________________

HOW TO ENCODE THE DATA AND CREATE THE BARCODE

Let's create a Code 128 barcode.
(1) Enter data into cell A2.
image


(2) In column B2, enter the formula =IDAutomation_Uni_C128(
image


(3) Enter the Cell reference and parenthesis.
image


(4) To encode the data, press return.
image

NOTE: If you are NOT generating Intelligent Mail (Tracing) and you receive a Compile error:
The code in this project must be updated for use on 64-bit systems. Please review and update Declare statements and then mark them with PtrSafe attribute

return the Visual Basic editor and comment out the code in red using ' from:
image

to:
image


(5) Apply the "IDAutomation Uni M" to the encoded data.
image

_____________________________________________________________

ENCODE OTHER BARCODE TYPES

image

Posted 9.9 year(s) ago

(0)
(0)
  Report Abuse
 
Find Interesting
 
Email to Others
 
Bookmark
 
Subscribe to Answer Alert
No comments yet.     Be the first to comment.

Email this question link to friends
You must enter an email address, if name is entered or vice-versa for each friend.
Friend #1 -
Friend #2 -
Friend #3 -
Friend #4 -
Friend #5 -
  Your comment on this question
  |         |  
bold  italic  underline  strike       big  small       superscript  subscript 
  Allows to add a link. Added links would only be converted to actual clickable link, when the domain of the link is white-listed by administrator.
Caption :
Link URL :
(Must starts with "http://")
Add  |   Cancel
  Allow to insert an image. Must be among the following file types - *.jpg, *.gif, *.png & *.bmp.
Image Url :   Upload New
(Image url must always starts with " http:// ")
Width : pixels
(Must not be greater than 450px. Enter 0px for no resize)
Add  |   Cancel
  Allow to insert YouTube video. Insert the video embed code.
Embed Code :
Add  |   Cancel
Up to 5000 Characters are allowed. Current Count: 0
  Your comment on this answer
  |         |  
bold  italic  underline  strike       big  small       superscript  subscript 
  Allow you to add a link. Added links would only be converted to actual clickable link, when the domain of the link is white-listed by administrator.
Caption :
Link URL :
(Must start with "http://" or "https://")
Add  |   Cancel
  Allow to insert an image. Must be among the following file types - *.jpg, *.gif, *.png & *.bmp.
Image Url :   Upload New
(Image url must always start with "http://" or "https://")
Width : pixels
(Must not be greater than 450px. Enter 0px for no resize)
Add  |   Cancel
  Allow to insert YouTube video. Insert the video embed code.
Embed Code :
Add  |   Cancel
Up to 5000 characters are allowed. Current Count: 0

You may answer and comment on any thread according to the Terms and Conditions.

 © Copyright 2021 IDAutomation.com, Inc., All Rights Reserved. Legal Notices.

 Barcode Fonts | Components | Scanners | Support | Contact Us
Training Videos on YouTube Join us on Google Plus Join us on LinkedIn Follow us on Twitter Like us on Facebook