ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Automatically filling cell with data from COM port (https://www.excelbanter.com/excel-programming/294329-automatically-filling-cell-data-com-port.html)

William Loring

Automatically filling cell with data from COM port
 
Is it possible to write a script for Excel that will automatically populate
a cell with data received from the COM port?

I have a timer which sends timing data to the COM port (as ascii text) via a
serial cable, and would like to have these times automatically inserted into
a cell in an excel spreadsheet.

Any help would be greatly appreciated.


Regards,

William Loring
The Tire Rack


jaf

Automatically filling cell with data from COM port
 
http://www.google.com/groups?as_q=rs...&num=100&hl=en


--
John
johnf 202 at hotmail dot com


"William Loring" wrote in message ...
| Is it possible to write a script for Excel that will automatically populate
| a cell with data received from the COM port?
|
| I have a timer which sends timing data to the COM port (as ascii text) via a
| serial cable, and would like to have these times automatically inserted into
| a cell in an excel spreadsheet.
|
| Any help would be greatly appreciated.
|
|
| Regards,
|
| William Loring
| The Tire Rack
|

Thomas Lutz

Automatically filling cell with data from COM port
 
Excel makes it extremely difficult to do serial communications. You
would need to write some very complex code calling Windows API
functions in order to do serial I/O. You may be able to use a serial
communications ActiveX control however you would still need to write
quite a bit of code to get it to work the way you require.
If you want to read in simple text strings directly into Excel, then
almost certainly the easiest thing to do would be to get a tool that
is designed specifically for the job.
I would recommend that you take a look at a product called WinWedge
at:
http://www.taltech.com/products/winwedge.html
The Standard Edition of WinWedge should do everything that you need
and it should have you up and running very quickly with litle or no
code required.


On Tue, 06 Apr 2004 14:21:36 -0500, William Loring
wrote:

Is it possible to write a script for Excel that will automatically populate
a cell with data received from the COM port?

I have a timer which sends timing data to the COM port (as ascii text) via a
serial cable, and would like to have these times automatically inserted into
a cell in an excel spreadsheet.

Any help would be greatly appreciated.


Regards,

William Loring
The Tire Rack




All times are GMT +1. The time now is 05:33 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com