Code 39 is the easiest to use.
The text in the barcode must start and end with a *. So in excel
text | =“*”&a1&“*”