Hello,
Working on spreadsheet to dial out number using a macro, So far have been able to bring the dialer up and prompt to enter number.
Need help to complete the code , see attached file
Basically, Require to dial number out by pressing macro button from spreadsheet. Manual dialout method is
9 647 xxx xxx wait then press accesscode followed by # ( xxxxxxx # ) wait then input asterix " * " followed by pin"xxxx"
so it will be 9 647 xxx xxxx ,,,8823xxx # and if person host press * xxxx
would be fantastic if input boxes pop up with options to enter numbers and click OK to dial.
Working on spreadsheet to dial out number using a macro, So far have been able to bring the dialer up and prompt to enter number.
Need help to complete the code , see attached file
Basically, Require to dial number out by pressing macro button from spreadsheet. Manual dialout method is
9 647 xxx xxx wait then press accesscode followed by # ( xxxxxxx # ) wait then input asterix " * " followed by pin"xxxx"
so it will be 9 647 xxx xxxx ,,,8823xxx # and if person host press * xxxx
would be fantastic if input boxes pop up with options to enter numbers and click OK to dial.
Code:
Sub Numeric_RangeDataType()
Dim vData
On Error Resume Next
Application.DisplayAlerts = False
vData = Application.InputBox _
(Prompt:="Enter Number to Dial, " _
& "or enter the number directly.", _
Title:="Technical Bridge 1", Type:=1 + 8)
On Error GoTo 0
Application.DisplayAlerts = True
If IsNumeric(vData) And vData <> 0 Then
Call DialOut
Else
Exit Sub
End If
End Sub
Sub DialOut()
Dim strDial As String
Dim intReturn As Long
strDial = ActiveCell.EntireRow.Columns("B").Value
intReturn = Shell("C:\Program Files\Cisco Systems\Cisco IP Communicator\communicatork9.exe", 1)
Application.SendKeys (strDial & "%d")
End Sub
Attachments
Last edited: