Excel Vba Serial Communications
Microsoft Excel Vba Guide

Serial Port Communication in Excel (VBA) 2 November, 2015. Views 3 Comments. Maurizio @ dev.emcelettronica.com discuss how we can do serial communication in Excel environment. He writes: The purpose of this article is to demonstrate how you can perform serial port communication in the VBA (Visual Basic Applications – script editor included in any typical Microsoft Excel distribution) but without using the MSComm control or any other third party add-on or ActiveX. I have to develop a program that will transmit a file to the serial port of the PC as well as read responses from the device connected to this port. Because the file to be transmitted will depend on certain entries in a spreadsheet, Excel VBA seems a natural choice. Perform serial port communication with Visual Basic. This sample was created and submitted by David M. If you have any questions or comments concerning these routines, David can be reached at [email protected]
Excel Vba Serial Communication
I have to develop a program that will transmit a file to the serial port of the PC as well as read responses from the device connected to this port. Because the file to be transmitted will depend on certain entries in a spreadsheet, Excel VBA seems a natural choice. I am quite new at this but my understanding is that I need to use API calls such as CreatFile. The operating system is Windows XP.
Am I taking the right approach? Can this be done from Excel VBA? Any feedback would be apreciated.