
In order to make code 39 or code 3 of 9 barcodes, first, make sure you have the fonts needed. See
this location, and download
BARCOD39.TTF. Place this file in your c:\windows\fonts or c:\winnt\fonts folder.
You will need two columns. One will hold the data for the barcodes, the second will hold the barcode. In the second field, enter ="*"&A2&"*", replace A2 in this example with the field where the data is held.

Select the desired Barcode font and size for this Cell (where the barcode is), using the Excel Font and Size selection boxes

Notes: This works for Code 3 of 9 or Code 39 barcodes. It might not work for other types. If you have other barcode fonts that are 3 of 9 or 39, they might work just as well as the one provided.