Home Products Support Blog Contact

How to generate Interleaved 2 of 5 Barcode in MS Excel, MS Access, and Crystal Reports?

Keywords: interleaved 2 of 5, ISO/IEC 16390:2007

Anyone who wants to generate 'Interleaved 2of5 barcode' has found a perfect solution. Barcodesoft 'Interleaved 2of5' software is what you need.

'Interleaved 2of5 barcode' is one of the most widely used barcode symbology. It is developed upon 'standard 2of5 barcode' for higher data capacity.

'Interleaved 2of5' encodes numbers. Logistics industry use 'Interleaved 2of5 barcode' a lot.

A modulo 10 check digit is optional for 'Interleaved 2of5 barcode'. Checksum calculation is the same as code25.

When you use Barcodesoft 'Interleaved 2of5' to print barcode, please use the encoder to calculate check digit.

There are 14 'Interleaved 2of5 barcode' fonts in the package, as listed below. Each font shows its aspect ratio by font name. Those fonts with “Hr” in their names have human readable text underneath the barcode.

For example, I25MHr means ‘medium aspect ratio’, with human readable text.

I25XXL means “XXL aspect ratio, no human readable text”.

Barcodesoft 'Interleaved 2of5 barcode' Demo version has a “Demo” watermark.

Barcodesoft Interleaved 2of5 barcode fonts are available in truetype, PostScript, PCL, SVG, Open Type (eot), and Web Open Font Format (woff / woff2). Users can embed MSI fonts into Adobe PDF files.

Here is the list of Barcodesoft Interleaved 2of5 Barcode Fonts

Aspect Ratio With Human Readable Without Human Readable
XXS I25XXSHr I25XXS
XS I25XSHr I25XS
S I25SHr I25S
M I25MHr I25M
L I25LHr I25L
XL I25XLHr I25XL
XXL I25XXLHr I25XXL

Here is the pricing list of Barcodesoft interleaved 2 of 5 package
License Single User 5-User 10-User Site Corporate Developer 5-Developer 10-Developer Unlimited Developer
Price CAD159 CAD299 CAD399 CAD599 CAD799 CAD999 CAD1199 CAD1399 CAD1999

Generate Interleaved 2of5 Barcode in Crystal Reports

1. Open your crystal report. Right click Formula Fields, choose "New..." from the context menu.

Type in "Interleaved25" in the Name textbox, then click "Use Editor".



2. From Functions List ==> Additional Functions ==> COM and .NET UFLs (u212com.dll) ==> Visual Basic UFLs, double click to choose "BCSLinearI25" function as shown below.


3. Then type in the database field as parameter for Interleaved25 formula. And click "Save" button to save Interleaved 2of5 formula field.


4. Drag and drop the Interleaved 2of5 formula field in your crystal report design view. You will see some strange characters in your report. Don't worry! You have NOT applied Interleaved 25 barcode font yet.



5. Right click Interleaved 2of5 formula field and choose "Format Field" from context menu. Then choose "I25mHr" font typeface.



Click OK button. You will see Interleaved 2of5 barcode in your report.



Generate Interleaved 2of5 Barcode in MS Excel Spreadsheet

1. Start Microsoft® Excel® first.

If you are using Excel 2000 or 2003, click menu ===> Tools ==> Macro ===> Security. Choose Low security level.


If you are using Excel 2007 / 2010 / 2013 / 2016 / 2019, click the Microsoft Office Button.

Then click Excel Options, choose Trust Center. In the Macro Settings category, under Macro Settings, choose "Enable all macros" as shown below.



2. Press ALT + F11 to open Microsoft® Visual Basic editor.


3. From Visual Basic editor, choose menu Tools ===> References. It will popup a dialog. Click Browse button and choose cruflbcs.dll from your working folder.
Usually it's under C:\Program File (x86)\CommonFiles\Barcodesoft\Fontutil folder.
Click the checkbox beside crUFLBcs 1.0 Type Library as shown below. Then click OK button.



4. Press Ctrl+M, it will popup a dialog, choose barcodesoft.bas under C:\Program File (x86)\CommonFiles\Barcodesoft\Fontutil folder. Then click "Open".

If you don't find barcodesoft.bas, please download it from Interleaved 2of5.


5. Close Visual Basic editor and go back to your spreadsheet. Now, you can use the following macro to encode data: Interleaved 2of5. When you have lots of data to process, you can just copy and paste the macro to the whole column and all data will be encoded immediately.
=ITF25(xxx)
Please use cell reference to replace xxx in the formulas as shown below.



8. Right click Cell B1, choose Format Cell from context menu. Then click Font to apply one of the appropriate font typefaces to the cell, such as I25mHr.



Generate Interleaved 2of5 Barcode in MS Access Database

1. Start Microsoft® Access® first.

If you are using Access 2000 or 2003, click menu ===> Tools ==> Macro ===> Security. Choose Low security level.


If you are using Access 2007 / 2010 / 2013 / 2016 / 2019, click the Microsoft Office Button.

Then click Access Options, choose Trust Center. In the Macro Settings category, under Macro Settings, choose "Enable all macros" as shown below.



2. Press ALT + F11 to open Microsoft® Visual Basic editor.


3. From Visual Basic editor, choose menu Tools ===> References. It will popup a dialog. Click Browse button and choose cruflbcs.dll from your working folder.
Usually it's under C:\Program File (x86)\CommonFiles\Barcodesoft\Fontutil folder.
Click the checkbox beside crUFLBcs 4.0 Type Library as shown below. Then click OK button.



4. Press Ctrl+M, it will popup a dialog, choose barcodesoft.bas under C:\Program File (x86)\CommonFiles\Barcodesoft\Fontutil folder. Then click "Open".

If you don't find barcodesoft.bas, please download it from Interleaved 2of5.


5. Close Visual Basic and go back to your Access database. Now, create a report in Design view and type in one of the following macros in the field where you want to show Interleaved 2of5 barcode before apply font typeface:
=ITF25([data.code])
=ITF25Check([data.code])

Please notice that 'data' is the Table name, 'code' is the Field name.



6. Right click the field you want to display Interleaved 2of5 barcode. Choose Properties from context menu. Apply one of the appropriate font typefaces to the field, such as Interleaved I25mHr.