SMS connecting to phone from VBA

Posted by I__ on Stack Overflow See other posts from Stack Overflow or by I__
Published on 2010-06-11T23:10:32Z Indexed on 2010/06/11 23:12 UTC
Read the original article Hit count: 148

Filed under:
|
|
|

here's my code:

Public Sub SendSMS()
  Dim n As Integer

  n = FreeFile
  ' Change  the string below if using a different COM port or the port speed
  Open "COM3:9600,N,8,1" For Output As #n
  Print #n, "AT"
  Close #n
End Sub

i'm trying to connect to my phone that is attached to this computer.

how do i catch responses to my AT COMMANDS? in hyperterminal you see responses right away, i want to be able to see them here as well, how do i do it?

© Stack Overflow or respective owner

Related posts about excel

Related posts about vba