Can anyone help with communicating to a COM port through Excel (on a machine that does not also have Visual Basic installed)?
I've tried downloading MSCOMM -- Excel recognizes the reference to MSComm32.ocx, but I get an error when trying to use it ("Run-time error '429': ActiveX component can't create object" ).
These are the lines of code that create the error (omitting the remainder of the subroutine). The line "Set CPort..." is what causes the error to pop up:
This is really a two part question:
(1) Can this be done using MSComm? (Or is there some basic problem like a licensing/registry issue)
AND
(2) Is there another way to communicate with the Com port using Excel that doesn't require MSComm?
Thanks!
--Jason
I've tried downloading MSCOMM -- Excel recognizes the reference to MSComm32.ocx, but I get an error when trying to use it ("Run-time error '429': ActiveX component can't create object" ).
These are the lines of code that create the error (omitting the remainder of the subroutine). The line "Set CPort..." is what causes the error to pop up:
Code:
Sub ComPortTesting()
Dim CPort As MSComm
Set CPort = New MSComm
...
This is really a two part question:
(1) Can this be done using MSComm? (Or is there some basic problem like a licensing/registry issue)
AND
(2) Is there another way to communicate with the Com port using Excel that doesn't require MSComm?
Thanks!
--Jason