RS-232

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I try to receive data from serial port, but I don't know how can I do it
Is there any communication controller in Excel-VBA

th
 
I've not used this before BUT you can open the serial port for input e.g

open "COM1:" for input as #

Then, #1 is available for Input and Line Input.
 
You can write a QBasic program to read the data and then use Shell to call
it in VBA.

HTH, Greg
 
I have also been frustrated in this endeavour. There is a MSComm1 control
which can be added to a form, and handles serial communication. But I
couldn't make it work. There were registration difficulties.
 
Hello, I had the same problem with MSCOMM registration and I arrive to use it in VBA form. Follows the next tip to register the MSCOMM Control OCX
Copy MSCOMM32.OCX in system 32 director
In Execute Form (Start -> Execute) use the command
C:\WINDOWS\SYSTEM32\REGSVR32.EXE C:\WINDOWS\SYSTEM32\MSCOMM32.OC
Use REGEDIT command in Execute form to add the following key in the acces HKEY_CLASSES_ROOT -> Licenses
Key name : 4250E830-6AC2-11cf-8ADB-00AA00C0090
Reg_SEXPAND_SZ value : kjljvjjjoquqmjjjvpqqkqmqykypoqjquou

Now, restart systems and you can use the MSCOMM Control In VBA Application ;)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

serial communication 1
EXCEL 2007 / RS 232 2
CommRead data with unknown length 2
Rs-232 in Excel 2
RS-232 over SATA 3
Serial IO RS-232/422/485 5
Difficulty of creating a macro? 3
RS-232 5

Back
Top