How To Set Up A Barcode Scanner With Excel For Mac
Legacy Notice:
The AppleScript products are designed to guide Mac users that use Excel for Mac 2004 and 2008. Later versions should use the VBA Macros which are cross-platform compatible with Excel for Mac 2011 and up including Office 365.

AppleScript Tutorial for Excel using Universal Fonts
Barcode scanners can help you manage your inventory and assets, and come in three types: serial scanners connect into a computer's serial port via a serial cable; USB scanners plug into a USB port; and PS/2 scanners plug into a computer's PS/2 port, the port normally used for keyboards, using a PS/2 cable adapter that enables you to plug both the scanner and your keyboard into the port. How to download barcode fonts. First, you need to access the Internet and download the appropriate fonts. The most commonly used barcodes are: UPC-A and UPC-E codes, which means Universal Product. I am using Excel 2013 and would like to input data into my spreadsheet using a barcode scanner. I've created some barcodes using an online barcode generator (Code 128-B). My barcodes are text as opposed to numeric. I initially tested it out using Access and it scanned the information just fine. I deal with a large number of unique products (10,000+ per year on my own) and I am looking to optimise Excel to make my job more efficient. I have a USB barcode scanner and want to implement this into my process. My suppliers send me a large spreadsheet with product info, such as barcode.



Barcode Scanner Online

When data needs to be encoded in a barcode, the script will format the data and return a character string that will create an accurate barcode when combined with the appropriate Universal Font. As a reference, two files included in the Universal Barcode Font Package, AppleScript_Excel_Example.xls and the AppleScript_Excel_Example_IDAutomation128b.scpt file can be used as a guide. Available in the licensed version only.
How To Set Up A Barcode Scanner With Excel For Macs
- Open the Excel Example or a new Excel spreadsheet.
- In Column A, enter test data for rows A1, A2, and A3. In the example rows 1 through 3 of Column A already contain data.
- Save the Excel file.
- Open the AppleScript Editor and spreadsheet that will be used. (Ex: AppleScript_Excel_Example.xls)
- Paste the code below into the AppleScript file. If the sample script file is being used, the code has already been placed in the script. Make sure that only one Excel worksheet is running.
NOTE: AppleScript_Excel_Example.xls is a working example using the following code. When using a different spreadsheet, the code will need to be modified to match the column and row set up. - Save the changes, then compile and run the script. The Excel spreadsheet now contains encoded data in cells B1 through B3 on the example spreadsheet. set EncodedCell to ('B' & i) ensures that the encoded data is sent from the script directly to Column B. To send the data to another column, simply enter the Column letter.
- Change the font of the formula field to the IDAutomation Universal Font and set the point size. This is a very important step; if this is not done, barcodes will not be displayed. If unsure of the point size, IDAutomation recommends 12 points.
- Print and scan the barcode(s) to verify the correct data is encoded. If a scanner is needed to verify barcodes, IDAutomation offers their USB Barcode Scanner.