PC Review


Reply
Thread Tools Rate Thread

Dialer.exe - I am actually trying to get dialer.exe to dial Excel cell phone numbers. I am using Excel 97 on a XP Box.

 
 
Steve Aa
Guest
Posts: n/a
 
      5th May 2008
Dialer.exe - I am actually trying to get dialer.exe to dial Excel cell phone
numbers. I am using Excel 97 on a XP Box.

Does anyone know how to get this code to work? Dialer.exe comes up and says
"The selected server is not responding. It might be down or temporarily
overloaded. To try again, click Refresh."

Clicking F5 (Refresh) produces the same comment above.

Here is the macro code I am using

Sub CellToDialer2()
' Transfers active cell contents to Dialer
' And then dials the phone

' Get the phone number
CellContents = ActiveCell.Value
If CellContents = "" Then
MsgBox "Select a cell that contains a phone number."
Exit Sub
End If

' Activate (or start) Dialer
AppName = "Dialer"
' AppFile = "Dialer.exe"
AppFile = "C:\Program Files\Windows NT\dialer.exe"

On Error Resume Next
AppActivate (AppName)
If Err <> 0 Then
Err = 0
TaskID = Shell(AppFile, 1)
If Err <> 0 Then MsgBox "Can't start " & AppFile
End If

' Transfer cell contents to Dialer
Application.SendKeys "%n" & CellContents, True

' Click Dial button
Application.SendKeys "%d"
' Application.SendKeys "{TAB}~", True
End Sub


 
Reply With Quote
 
 
 
 
Jim Cone
Guest
Posts: n/a
 
      5th May 2008

See your earlier post.
--
Jim Cone
Portland, Oregon USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)



"Steve Aa" <(E-Mail Removed)>
wrote in message
Dialer.exe - I am actually trying to get dialer.exe to dial Excel cell phone
numbers. I am using Excel 97 on a XP Box.

Does anyone know how to get this code to work? Dialer.exe comes up and says
"The selected server is not responding. It might be down or temporarily
overloaded. To try again, click Refresh."
Clicking F5 (Refresh) produces the same comment above.
Here is the macro code I am using

Sub CellToDialer2()
' Transfers active cell contents to Dialer
' And then dials the phone

' Get the phone number
CellContents = ActiveCell.Value
If CellContents = "" Then
MsgBox "Select a cell that contains a phone number."
Exit Sub
End If

' Activate (or start) Dialer
AppName = "Dialer"
' AppFile = "Dialer.exe"
AppFile = "C:\Program Files\Windows NT\dialer.exe"

On Error Resume Next
AppActivate (AppName)
If Err <> 0 Then
Err = 0
TaskID = Shell(AppFile, 1)
If Err <> 0 Then MsgBox "Can't start " & AppFile
End If

' Transfer cell contents to Dialer
Application.SendKeys "%n" & CellContents, True

' Click Dial button
Application.SendKeys "%d"
' Application.SendKeys "{TAB}~", True
End Sub


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista Phone Dialer can't dial phone rules correct =?Utf-8?B?RGFuejI2?= Windows Vista General Discussion 4 1st Sep 2009 01:34 AM
How to set up an phone dialer with Excel? =?Utf-8?B?flRvbQ==?= Microsoft Excel Programming 0 11th Mar 2005 11:39 PM
Can't dial out of phone dialer Windows XP General 0 10th Dec 2003 06:25 PM
Phone Dialer not able to dial out David P. Windows XP General 0 8th Dec 2003 06:44 PM
Can't Dial out of phone dialer David P. Windows XP General 1 5th Dec 2003 01:39 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:36 AM.