Private Sub cmdDial_Click()
Dim strA As String
strA = Clipboard.GetText(vbCFText)
If strA = "" Then
MsgBox "Mark and copy a number first"
Exit Sub
End If
comOne.CommPort = 1
comOne.SETTINGS = "9600,N,8,1"
comOne.PortOpen = True
comOne.Output = "ATDT" & strA & vbCr
MsgBox "Dialing " & strA & vbCrLf & "Pick up the phoneDear John,How do i...", _
vbOKOnly, "Dial-A-Phone"
comOne.PortOpen = False
End Sub