User Manual For Excel Addin
User Manual For Excel Addin
Contents
Excel Barcode Add-In Guide & Tutorial ................................................................................................................. 1
Install..................................................................................................................................................................... 2
How to Start? ........................................................................................................................................................ 3
How to Create a Single Barcode on Excel...................................................................................................... 4
How to Create Cell Linked Barcode on Excel................................................................................................. 5
How to Generate a Barcode List from a Cell List in Excel .............................................................................. 6
How to mail merge with barcodes in Microsoft Word from Excel ................................................................ 9
Common Barcode Questions .............................................................................................................................. 10
Valid Data Sets (Property “Data”) for Each Barcode Types ......................................................................... 10
Barcode Image Width & Height Setting ...................................................................................................... 12
Create GS1 Compatible Barcodes ............................................................................................................... 13
Encode Non-printable Chars ....................................................................................................................... 13
Encode Unicode Text in Barcode................................................................................................................. 13
Work with Excel Macro – How to update barcodes from Excel Macro............................................................... 14
Barcode Property Settings .................................................................................................................................. 15
Barcode Size ................................................................................................................................................ 15
1D (Linear) Barcode .................................................................................................................................... 17
2D (Matrix) Barcode.................................................................................................................................... 18
Install
Requirements
Please make sure you have installed the following programs:
“OnBarcode.Barcode.Excel.Addin.Developer.Setup.exe” to install.
4. Now, you may find OnBarcode Excel Barcode Add-In under the “Add-Ins” tab. If
Click “Office Button” > “Excel Options” > “Trust Center” > “Trust Center
Settings…” > “Add-ins”. Then, undo “Disable all Application Add-ins (may
Now, switch to “Add-Ins” > “COM Add-ins” (from the “manage” pull-down
In the pop-up window, select “OnBarcode Excel AddIn” and click “OK”.
Now, the Excel Barcode Add-In is successfully integrated under “Add-Ins” tab.
How to Start?
To activate the Excel Barcode Add-In, you should switch to “Add-Ins” tab, then click
“Create Barcode” button. And the “Barcode Settings” panel appears immediately
To customize the generated barcode, please select it and adjust its property in the
setting panel. Then, click “Update”.
Also, you can remove the generated barcode images by clicking “Delete” button.
Choose the inserted barcode image and click “Link To Cell” (To undo this, the
button “Cancel” should be used).
Select a cell with your target data. After this, the “Link To Cell” button
immediately changes to be “Update”.
Click “Update”, and then this barcode is dynamically linked to the cell.
In addition, generated barcodes can be linked to cells in this way. And all those
barcodes can be updated at a time by clicking “Update Link To Cell” button.
To create multiple barcodes from a list of cells, you need open batch barcode
generation panel.
To create multiple barcodes with your required properties, you need create a
barcode image, and customize the property settings. And the batch barcode
created will use the same property settings with this barcode.
In the following example, we will create FIVE Code-39 barcodes from a list of cells.
Code 39 property: X =6; Text font size = 14;
3. Now you need choose a barcode as a template, and all new created multiple
barcodes will use the same properties as this barcode’s properties.
4. After barcode template selected, now you need choose a cell, where all new
barcode images will be generated.
And click button “Generate Batch Barcodes”
Note: Check Property “Auto resize cell size to match barcode image width and height”, it will automatically resize
the Excel cell width and height to the same size as barcode images.
How to mail merge with barcodes in Microsoft Word from Excel
2D Barcodes
Data Matrix All 128 characters of ASCII.
Extended ASCII (ISO 8859-1 values 128-255)
PDF-417 All 128 characters of ASCII
Extended ASCII. Values 128-255 in accordance with ISO 8859-1.
QR Code numeric data (digits 0 - 9)
alphanumeric data (digits 0 - 9; upper case letters A -Z; nine other characters: space,
$%*+-./:)
byte data (default: ISO/IEC 8859-1)
Kanji characters
1D Barcodes
Codabar 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
- (Dash), $ (Dollar), : (Colon), / (Slash), . (Point), + (Plus)
Code 11 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
- (Dash)
Code 39 Code 39 encodes:
0, 1, 2, 3, 4, 5, 6, 7, 8, 9
Uppercase letters (A - Z)
(Dash), $ (Dollar), % (Percentage), (Space), . (Point), / (Slash), + (Plus)
If you want to create a barcode image with specified image width, height, and with
maximum barcode module (X and Y), please do the following steps:
Or you can resize the barcode image by drag and drop the corners of the image.
After resize the image, you need click button “Update” or “Update all linked
barcodes” to re-draw the barcode image.
Note: After drag and drop the barcode image, you need click the image again, then
you click the button “Update” to update the barcode image width and height.
Check property “Auto resize”, you will get the maximum of bar module width and
height (X, Y).
Barcode for Excel Add-in Developer Edition allows you to update all celled barcodes
from your VBA codes.
Sub CallVSTOMethod()
Sheet1.Range("G7").Value = 123456666
Sheet2.Range("G7").Value = 123457777
Dim addIn As COMAddIn
Dim automationObject As Object
Set addIn = Application.COMAddIns("OnBarcode.OnBarcodeExcel2021AddIn")
Set automationObject = addIn.Object
automationObject.UpdateAllBarcode
End Sub
With the above codes, any barcode linked to these two cells, will be updated.
Barcode Property Settings
After activating the “Barcode Settings” panel, you can make all your adjustments
for the barcode to be encoded.
Barcode Size
Basic Properties
Apply tilde (~) When enabled, the tilde character (~) is used to specify the special characters
in the input data of Code 39 and Code 128.
Add checksum For Code 39, Interleaved 2 of 5, and MSI Plessey.
char
Determine whether to compute and add the check digit to the encoded data.
Show start For Code 39 only.
stop (*)
Determine whether to show the start and stop characters (*) on both sides
of the Code 39 encoded data.
Codabar Start For Codabar only.
stop char
The start and stop character of Codabar. Valid values are A, B, C, D.
Specify the encoding system to be used in UPC-E. Valid values are 0 and 1.
Supplement The data to be encoded in add-on symbol for EAN-8, EAN-13, UPC-A and UPC-
data E barcodes. Valid data length is 2 or 5 digits.
Supplement The bar height of the add-on symbol for EAN-8, EAN-13, UPC-A and UPC-E
bar height barcodes. Its valid value is the multiple of Y, ranging from 0 to 1.0 inclusive.
Supplement The distance between the end of the main barcode and the beginning of the
bar space add-on symbol for EAN-8, EAN-13, UPC-A and UPC-E barcodes. Valid value
ranges from 7X to 12X.
Apply tilde (~) When enabled, the tilde character (~) is used to specify the special characters
in the input data.
GS1 For Data Matrix and QR Code.
Compatible
Barcode When enabled, GS1 compatible barcode can be generated.
Truncated For PDF-417 only.
PDF417
When enabled, the truncated PDF417 can be created.
Data mode Specify how the information is encoded into a 2d barcode.
Format mode For Data Matrix only.
Customize the required format mode of Data Matrix. Its values range from 0
(10X10) to 24 (144X144) and from 25 (8X18) to 30 (16X48).
Version For QR Code only.
Set the version of QR Code. It has 40 versions in all, ranging from V1 to V40.
Error For QR Code only.
correction
level Set the error correction capability of QR Code, which enables the data to be
restored if the barcode is partially dirty or damaged. Valid values are L, M, Q,
H.
Row count For PDF-417 only.
Adjust the number of rows for Pdf417 barcode. Valid values range from 3 to
90.
Column count For PDF-417 only.
Adjust the number of columns for Pdf417 barcode. Valid values range from 1
to 30. Commonly, the maximum value of 30 is difficult to be read by most
scanners.
You may find more details about OnBarcode Excel Barcode Add-In on our web
page
http://www.onbarcode.com/excel_barcode/
If you have any technical questions, comments or concerns about our products,
we recommend you to contact us via email ([email protected]).