LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default 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.

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


 
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
Is it possible to have phone numbers dial when clicked in Excel? artemis1027 Excel Worksheet Functions 1 June 28th 06 06:26 PM
Phone Dialer in XP Vacation's Over Excel Programming 1 June 26th 05 04:44 PM
How to set up an phone dialer with Excel? ~Tom Excel Programming 0 March 11th 05 11:39 PM
Phone Dialer Pat Excel Discussion (Misc queries) 5 January 7th 05 06:28 PM
Cell to dialer script with win xp anders Excel Programming 3 October 22nd 03 04:34 AM


All times are GMT +1. The time now is 05:25 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"