[Video] How to download and generate Code 128 barcode in Microsoft Excel?
Code 128 Barcode Add-in is designed by OnBarcode.com to draw Code 128 barcode images for MS Excel spreadsheet.
This barcode generator is able to link barcodes to cell-contents. Besides, the generated barcode images using this add-in do comply with GS1, ISO/IEC specifications.
You can view the details about barcode generation in Excel here: How to create, print barcode in Excel?
OnBarcode.com provides Barcode Generator (not font) Excel Add In for Excel as well as other professional & reliable 1D & 2D barcode add-ins for Excel and Word, including Code 39 excel add-in, GS1-128 generator for excel, EAN-13 generator for excel, UPC-A barcode add-in for excel, QR Code generator for excel, Data Matrix for excel, etc.
OnBarcode.com provides Barcode Generator (not font) Excel Add In for Excel as well as other professional & reliable 1D & 2D barcode add-ins for Excel and Word, including Code 39 excel add-in, GS1-128 generator for excel, EAN-13 generator for excel, UPC-A barcode add-in for excel, QR Code generator for excel, Data Matrix for excel, etc.
Quick to Create, Print Code 128 barcode in Excel
Open Excel Barcode add-in
To convert numbers and text into Code 128 barcode symbol in Excel, please follow the steps below
Start insert Code 128 to Excel Cell
Update Code 128 size & code with covered cell
To convert numbers and text into Code 128 barcode symbol in Excel, please follow the steps below
- Install Barcode Generator Add-in for Excel on your computer Windows system
- Create a new Excel file or open an existing Excel document. Go to the Excel software
Add-instab - Open
Barcode Settingspane by choosingCreate Barcodefrom theOnBarcodegroup in the tab "Add-ins"
Start insert Code 128 to Excel Cell
- Select cell
C4, where we will create and insert a Code 128 barcode image. - Update the Data property value to
=LINK(B4). The new Code 128 barcode will encode the cellB4value. - Click Generate button to create barcode.
-
Now you will find a Code 128 has been printed on cell
C4.
Update Code 128 size & code with covered cell
- Check "Resize Covered Cell"
- Click Update button to re-draw the Code 128 barcode.
Here the barcode add-in will adjust the Code 128 image covered cellC4's width and height to be the same as the Code 128 image's.
- Any value changes on cell
B4, the Code 128 barcode on cellC4will be re-printed automatically.
Start to Install Excel Barcode Add-in
Start using OnBarcode Excel Barcode Generator Add-in in your Excel document now with a free trial.
Auto-update Code 128 barcodes
When the OnBarcode Excel Barcode Generator Add-in is open ("Barcode Settings" pane is open in Excel application),
any cell values have been modified, the barcode software will automatically update these cells linked barcode images.
Manually update Code 128 barcodes
In the following situations, if the Excel cell's values have been modified, the barcode generator add-in will not update all barcode images automatically.
In the above situations, you can manually update all barcodes in the Excel file.
- The Excel file has been closed, and other 3rd party program has modifed the Excel cell's values.
- The Excel file is open, but the Barcode Add-in is closed.
In the above situations, you can manually update all barcodes in the Excel file.
- Open Excel Barcode Generator Add-in in Excel Application
- Click Update All button to update all barcodes in the Excel document
Remove Code 128 barcode images
You can easily remove one or more generated Code 128 images in Excel.
- Select the Code 128 images you want to delete
- Click Delete button to remove the barcodes from Excel. Or press
delete orbackspace from keyboard to delete them.
Create, print multiple Code 128 barcodes in Excel
It is really an easy job to create, insert bulk/list of Code 128 barcodes on Excel cells.
Here we have prepared one sample Excel document with content inside. We also have created and printed one Code 128 barcode image.
There are 6 rectangle labels inside the Excel file. Each label occupy 5 columns and 7 rows.
For example, the top left label takes the area from Column
And the text
Here we have prepared one sample Excel document with content inside. We also have created and printed one Code 128 barcode image.
There are 6 rectangle labels inside the Excel file. Each label occupy 5 columns and 7 rows.
For example, the top left label takes the area from Column
C to G, Row 6 to 12.
And the text
A-1001 is
in Cell C7, which is a merged cell, combined from C7 to C11.
The target Code 128 barcode area is on Cell E7, which is also a merged cell, combined
from Column E to F, from Row 7 to 11
Create, print multiple Code 128 barcodes in Excel
- Click the generated Code 128 on Cell
E7. Now you will find the text "Copy from: Cell [E7] CODE 128" in the "Barcode Settings" pane, which indicates the barcode generator add-in will select the Code 128 barcode on cellE7as source barcode to paste and duplicate. - Hold
Ctrl key and select the list of cells to print Code 128, CellL7,E18,L18,E29,L29 - Click button Duplicate All
-
Now the five new Code 128 barcode images have been generated and inserted to the target Excel cells.
You can view more details and tutorials about multiple barcodes generation in Excel here:
How to create multiple barcodes in Excel using Barcode Add-in for Excel freeware?
How to create multiple barcodes in Excel using Barcode Add-in for Excel freeware?
Code 128 Barcode Data Characters Encoding in Office Excel. No font required.
Code 128, also known as Barcode 128, ANSI/AIM 128, USS Code 128 is a very capable linear barcode of excellent density, high reliability.
Code 128 barcode structure
Code 128 barcode includes the following parts
Using OnBarcode Excel Barcode Add-in, you need provide the Code 128 Data characters only. The barcode freeware will automatically calculate and insert other special characters for you.
- Quiet zone
- Start char
- Data characters
- Symbol check char
- Stop char
- Quiet zone
Using OnBarcode Excel Barcode Add-in, you need provide the Code 128 Data characters only. The barcode freeware will automatically calculate and insert other special characters for you.
Code 128 data character set
Code 128 barcode supports the following text string characters
- All 128 Full ASCII characters defined in ISO/IEC 646. See details here: ASCII table
- Extended ASCII characters are also supported. See details here: ISO/IEC 8859-1
Code 128 maximum & minimum text length
The Code 128 specification does not specify the maximum number of characters in a single barcode Code 128 image. However some Code 128 industry standards have limits. For example, GS1-128 (based on Code 128) has maximum 48 characters in one Code 128 barcode.
Code 128 has also not defined minimum data length. However some barcode scanner devices have limits. You need check and update the barcode scanner configuration.
Code 128 has also not defined minimum data length. However some barcode scanner devices have limits. You need check and update the barcode scanner configuration.
Code 128 Data Code Sets in Excel
Code 128 has defined the following three Code Sets in ISO specification
to encode Code 128 data message: Code Set A, Set B, Set C.
In Excel Code 128 generator, you could use barcode type Code 128 A, Code 128 B, Code 128 C to encode each Code Set.
However lots of Code 128 data will include characters from more than one Code sets. To encode these complicated data message, Excel code 128 generator provides a simple solution for you. You could choose barcode type Code 128. The Code 128 generator in Excel will automatically encode the data message with combined Code 128 code sets.
In Excel Code 128 generator, you could use barcode type Code 128 A, Code 128 B, Code 128 C to encode each Code Set.
However lots of Code 128 data will include characters from more than one Code sets. To encode these complicated data message, Excel code 128 generator provides a simple solution for you. You could choose barcode type Code 128. The Code 128 generator in Excel will automatically encode the data message with combined Code 128 code sets.
Code 128 Start and Stop characters in Excel
The barcode Code 128 defines 3 Start chars (Start A, B, C) and 1 Stop char.
Using Code 128 barcode generator for Excel add-in,
you do not need manually key-in Code 128 start and stop chars, OnBarcode Barcode for Excel will automatically insert the right start and stop chars in the correct position in the generated Code 128 barcodes.
Code 128 check digit character in Excel
Each valid Code 128 barcode includes a check digit character, which is based on module 103 algorithm. You can view the details about
How to calculate Code 128 check digit with video explained.
In Excel Code 128 barcode generator software, the property "Add checksum char" under tab "1D Barcode" is not appliable for Code 128. The software will automatically calculate and create a check digit character in code 128 barcode before the Stop character.
The Code 128 check character will not be displayed in the barcode Code 128 text label, and will not be transferred by the barcode scanner software and devices.
In Excel Code 128 barcode generator software, the property "Add checksum char" under tab "1D Barcode" is not appliable for Code 128. The software will automatically calculate and create a check digit character in code 128 barcode before the Stop character.
The Code 128 check character will not be displayed in the barcode Code 128 text label, and will not be transferred by the barcode scanner software and devices.
Code 128 Barcode Image Dimension Size in Excel file using free download Excel barcode add-in
Using Excel Code 128 barcode generator Add-in, you can apply the following properties for Code 128 image dimension size.
- Unit of Measure. You can choose PIXEL, CM or INCH.
- DPI. Image resolution
- Bar width (X): Width of narrow element. The mimumum bar width is defined by the application specification
- Bar height (Y): Bar module height.
- Image width. Code 128 image width
- Image height. Code 128 image height
- Left margin, Right margin: Quiet zone. the minimum width of quiet zone is 10X.
- Top margin, Bottom margin: Quiet zone.
- Text margin: Space between bar and text below
You can view the Code 128 Barcode Size Calculator here.
Customize Code 128 barcodes with property settings in Microsoft Excel
Basic Settings
- Barcode Type: choose
CODE 128(Recommended) for Code 128 with Code Sets automatically grouped,
CODE 128 Afor Code 128 with Code Set A,
CODE 128 Bfor Code 128 with Code Set B,
orCODE 128 Cfor Code 128 with Code Set C, - Data: Code 128 data to encode. The data here should be compatible with Code 128 supported character sets.
Code 128 Advanced Settings
- Apply tilde (~):
If it is checked, the Code 128 barcode generator software allows using the tilde character "~" to specify special characters in the Code 128 input data.
For more information, please read the details here:
How to encode barcode with non-printable characters in Excel document?
Barcode Common Settings
- Code 128 Text Rendering (Human Readable Interpretation) options. You can easily apply the following Code 128 rendered text in Excel document.
- Display or hide Code 128 text
- Text font styles
- Text font size
- Margin between Code 128 text and Code 128 bar modules
- Code 128 barcode dimension width and height, view details here: Barcode dimension size options in Excel
- Code 128 barcode module colors, you can apply Code 128 bar and space modules color settings:
- Bar and space colors
- Transparent background image
How to convert ASCII text with non-printing char to Code 128 barcode in Excel
There are few control characters in ASCII and extended ASCII character set are non-printable. To create Code 128 with those non-printable chars in Excel,
you need do some extra steps.
To encode non-printable chars in Code 128 in Excel, you need get the non-printable char ASCII value or Extened ASCII value. Then in the Code 128 Data text box, you need add chars in the following format: "~ddd". Here "ddd" is the ASCII value in 3 digits.
Here is an example to generate Code 128 barcode with data "123[CR]111" in Excel. The data "[CR]" is a character for Carriage Return, its ASCII value is 13.
To encode non-printable chars in Code 128 in Excel, you need get the non-printable char ASCII value or Extened ASCII value. Then in the Code 128 Data text box, you need add chars in the following format: "~ddd". Here "ddd" is the ASCII value in 3 digits.
Here is an example to generate Code 128 barcode with data "123[CR]111" in Excel. The data "[CR]" is a character for Carriage Return, its ASCII value is 13.
- Choose Barcode Type as
CODE 128 - Go to tab "1D Barcode", enable property
Apply tilde (~) - In Data text box, key in
123~013111 - Press button Update to generate Code 128 with the above settings applied.
- In generated Code 128 barcode text (Human Readable Interpretation in barcode specification) area, it will display the printable characters only.
Start to Download & Install Excel Barcode Generator Add-in
Start using OnBarcode Excel Barcode Generator Add-in in your Excel document now with a free trial.