Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ken Ken is offline
external usenet poster
 
Posts: 590
Default Receive data from barcode reader in VBA

I was wondering if there was a way to receive a scan from a barcode reader
and move down one cell.
I'm hoping its possible to have vba select the cell, go into edit mode
recieve scan, enter and then move down one cell.
I guess it would be a matter of programatically going into and out of edit
mode based on length of the variable.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Receive data from barcode reader in VBA

The bar code reader would be connected to the PC through some port like a USB
or RS232 serial port. Excel would have to control the port by putting the
device into scan mode and then read data from the port.

I've programmed Rs-232 serial ports on the PC through VBA. You need to get
the list of commands the bar code reader supports and generate a program.
Many device supply sample code. Check the bar code manuafactures website for
downloads and sample code.

"Ken" wrote:

I was wondering if there was a way to receive a scan from a barcode reader
and move down one cell.
I'm hoping its possible to have vba select the cell, go into edit mode
recieve scan, enter and then move down one cell.
I guess it would be a matter of programatically going into and out of edit
mode based on length of the variable.

  #3   Report Post  
Posted to microsoft.public.excel.programming
Ken Ken is offline
external usenet poster
 
Posts: 590
Default Receive data from barcode reader in VBA

Its USB, Thanks for the help I'll look into it.

"Joel" wrote:

The bar code reader would be connected to the PC through some port like a USB
or RS232 serial port. Excel would have to control the port by putting the
device into scan mode and then read data from the port.

I've programmed Rs-232 serial ports on the PC through VBA. You need to get
the list of commands the bar code reader supports and generate a program.
Many device supply sample code. Check the bar code manuafactures website for
downloads and sample code.

"Ken" wrote:

I was wondering if there was a way to receive a scan from a barcode reader
and move down one cell.
I'm hoping its possible to have vba select the cell, go into edit mode
recieve scan, enter and then move down one cell.
I guess it would be a matter of programatically going into and out of edit
mode based on length of the variable.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Read from Barcode Reader in Excel and Auto hit enter Neo Excel Discussion (Misc queries) 2 August 12th 13 10:19 AM
setup and useing a barcode reader Ron Excel Discussion (Misc queries) 1 February 4th 09 08:10 PM
setup and using a barcode reader Ron Setting up and Configuration of Excel 0 January 25th 09 03:01 AM
Barcode reader - to store data in Excel KrunoG Excel Programming 1 February 22nd 07 11:05 AM
how to make the barcode reader trigger a macro in excel. CSL Excel Programming 3 July 19th 05 05:05 PM


All times are GMT +1. The time now is 11:43 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"