What is the best way to access serial port from VBA?
I need some of our sales representatives to be able to send a simple line through the serial port from the action button in PowerPoint. I usually do not use VBA, especially for something like that. Usually I turn it into some kind of application, but I really donβt think the idea is so bad. It will be a convenient tool for demonstrating this device using a projector and communicating with other sales guys and non-technical people. In addition, this sales guy will not have any problems making small changes to the VBA or PowerPoint presentation, but he will not work with recompiling the .NET application.
I know that we could do this through a batch file that was launched from a presentation by action, but this does not make me very happy. I suppose we could possibly access the COM object from there, too, but again I donβt understand the newest and largest libraries that will be used in VBA, and it would be nice to get a quick little tutorial on how easy it is to open, send and close the connection.
Since it will need to be run on computers with several people, it would be nice if it were easily portable to other computers. I have to say that it should work in Office 2007 and Windows XP. Compatibility with anything else would be a nice bonus.
What should I do with this? Any good tips or tricks? Library recommendations?
vba powerpoint serial-port
GEOCHET
source share