Standard or higher

Excel 2007
Barcode objects in a spread sheet

Embed and automate a barcode in an Excel sheet
Excel 2007

1

A short description of how to add a barcode to an Excel document and link the barcode with a cells content.

First launch Excel and create a new document or open an already existing document.

Make sure that you have configured your Excel, that the "Developer" tab is shown in the ribbon. If not, go to the Excel Options:

ActiveBarcode: Barcode, Excel 2007

2

Activate the option "Show Developer tab in the ribbon" and close the option window.

ActiveBarcode: Barcode, Excel 2007

3

Now you can embed the ActiveBarcode control element into your Document. Select Developer tab. Click on the button "Insert" from the range of "Controls" and then select "More controls" there.

ActiveBarcode: Barcode, Excel 2007

4

A dialog box appears on the screen:

ActiveBarcode: Barcode, Excel 2007

5

Select "ActiveBarcode" now and click "Ok". Now a barcode will be created inside your document. This will be a standard barcode of EAN-128 type. This is the default type. You can change this to any barcode type supported by ActiveBarcode: QR Code, GS1/EAN-128, Data Matrix, GTIN/EAN-13, Code 39, Code 93, GS1-Data Matrix, Code 128, PDF417, DUN-14, EAN-8, EAN-14, EAN-18, ISBN, ITF-14, NVE, PZN8, SCC-14, SSCC-18, ...

Now you can modify this barcode. You can change the type, text, colors etc. For this click inside the barcode with the right mouse button. A pop up menu will open: 

ActiveBarcode: Barcode, Excel 2007

6

Select "ActiveBarcode-Object" and then "Properties...". The property dialog of ActiveBarcode will open. Here you can modify the barcode as you like.

Alternatively you can use the property dialog of Excel. For this use the following button named "Properties" of the "Controls" range:

ActiveBarcode: Barcode, Excel 2007

7

Create a link between a cell and the barcode: Open the property dialog of Excel as described above. Now activate the barcode object by clicking onto it once. The property dialog will now display all the properties of the barcode object. Have a look for the property named "LinkedCell". This allows a link between a cell and the barcode:

ActiveBarcode: Barcode, Excel 2007

8

Enter the cell's name for the link into this property. That's it!

If you want to create a barcode that encodes data from several cells, you must first merge these cells into an helping cell. Then connect this combined cell with the barcode object.

In the following example, the contents of cells B3 and B4 are combined in cell B6. Cell B6 is linked to the barcode object.

ActiveBarcode: Barcode, Excel 2007

ActiveBarcode: InfoThis documentation better suited for a different version: