N
NC
Can I use COMM port in Excel VBA???
If can, how can I use? Thx!
If can, how can I use? Thx!
Galin Iliev said:NC,
these are the neccesary steps for using MSCOMM32.OCX
1. Open Excel
2. Open Visual Basic Editor
3. RightClick somewhere on Project tree (usually on the left) -> Insert ->
UserForm
4. From the menu - Tools -> References -> Microsoft Com Control 6.0
(MSCOMM32.OCX) - or click browse and point the file
5. RightClick somewhere on Project tree (usually on the left) -> Insert ->
Module
6. write sub or func that declare variable from type MSCommLib.MSComm
this is it
I attach one xls.file that has all these things)))
Good Luck
If you have any questions do not hesitate to ask me.
Galin Iliev
MCSD