LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 204
Default Microsoft comm controls

I am trying to open com1 in vb and get data from a tag reader as the tags are
read. I have started with this

Private Sub Worksheet_Activate()

' Open the serial port
MSComm1.CommPort = 1
MSComm1.Settings = "115200,N,8,1"
MSComm1.PortOpen = True

but it is giving me an error straight up. Do I need to download anything for
the MSComm1 commands to work. I realise I would need to put in loops etc for
it to continually monitor the port but I can't even get it to open the port
yet.

Thanks
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reading Comm Port in Excel SA Excel Programming 2 November 25th 08 03:55 PM
If And/Or statement for comm calc criteria Wannano Excel Discussion (Misc queries) 4 May 22nd 08 04:27 AM
Comm Add-ins gabch[_11_] Excel Programming 1 April 11th 06 01:51 PM
Comm 1 stark Excel Programming 0 October 28th 03 05:16 PM
Connecting to comm 1 Stark Excel Programming 2 October 27th 03 07:02 PM


All times are GMT +1. The time now is 03:59 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"