Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Comm1 not opening

Here is my problem I can't get comm 1 to open here is what I have so far and I just keep getting an error saying comm1 not open. Anyone have an idea?


Private Sub CommandButton1_Click()
Dim a As Boolean
a = False
a = CheapComm1.OpenCommPort(€œCOM1€, "9600,n,8,1")
If a = True Then
MsgBox "open"
End If
If a = False Then
MsgBox "error"
End If
End Sub
Reply
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
How do I stop blank workbook from opening when opening an existing kjg Excel Discussion (Misc queries) 3 February 12th 10 09:36 PM
Opening JPG Murray Excel Discussion (Misc queries) 1 February 17th 06 04:44 PM
REF errors when opening excel in xp. works fine when opening wor. br Excel Discussion (Misc queries) 6 September 13th 05 11:41 AM
opening csv Jo Segers Excel Discussion (Misc queries) 9 April 4th 05 01:24 PM
Connecting to comm1 Adam[_9_] Excel Programming 1 October 27th 03 06:54 PM


All times are GMT +1. The time now is 06:24 PM.

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"