Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel and the Serial Port
I have seen Microsoft Visual Basic applications receive and transmit serial
data through the serial port, managed by the Object/Procedure Private Sub MSComm1_OnComm(). The serial port parameters are set with the other Form properties, and my question is: Can something similar be done using Excel? Initially, I intend to monitor incoming serial data, either in a messagebox, or a spreadsheet cell, and then develop code to analyse this information in real time. I have searched the Excel help fles for MSComm1, but have not found any references to serial communication. Has anyone used the serial ports with Excel, and if so, could they point me towards relevant background information, or examples. In hope..... which has so far not been disappointed...... |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel and the Serial Port
Hi,
If you have the mscomm32.ocx on your system you can use it the same as in VB. Open a form. Right click on the toolbox, select additional controls and choose mscomm32. -- John johnf202 at hotmail dot com "Hotbird" wrote in message ... I have seen Microsoft Visual Basic applications receive and transmit serial data through the serial port, managed by the Object/Procedure Private Sub MSComm1_OnComm(). The serial port parameters are set with the other Form properties, and my question is: Can something similar be done using Excel? Initially, I intend to monitor incoming serial data, either in a messagebox, or a spreadsheet cell, and then develop code to analyse this information in real time. I have searched the Excel help fles for MSComm1, but have not found any references to serial communication. Has anyone used the serial ports with Excel, and if so, could they point me towards relevant background information, or examples. In hope..... which has so far not been disappointed...... |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to export an Excel file to a serial port | Excel Discussion (Misc queries) | |||
Is there a way to port your quick access toolbar in excel | Setting up and Configuration of Excel | |||
Interfacing USB port and MS Excel | Excel Discussion (Misc queries) | |||
Com Port and VBA from Excel | Excel Programming | |||
serial port mscomm32.ocx in excel | Excel Programming |