Is this what you're looking for?
Excel barcode generator add-in
From my experience, you are suppsed to convert less than 2,000 cells to barcodes at a time.
BTW, to scan a barcode correctly, there're some requirements. For example, you may take data checksum, data type, quiet zone and barcode size into consideration.