Solved

Need Simple Autodialer for Excel

Posted on 2002-07-25
10
623 Views
Last Modified: 2008-02-26
There is a contact manager in Access.  In it is a button that will autodial a number that is selected.

I want to add that same simple function to an Excel spreadsheet.

I have a list of phone numbers to call and I am getting tired of picking up my old phone handset everytime!  I would like for my computer to pickup, dial and allow me to pick up the handset if an answer happens.

Thanx.
0
Comment
Question by:zeddock
  • 5
  • 5
10 Comments
 
LVL 44

Expert Comment

by:bruintje
ID: 7178011
Hi zeddock,

from John Walkenbach

Here's some code from my "Excel 2000 Power Programming With VBA" book. It
uses SendKeys to transfer a phone number to the Windows Dialer program.

Sub CellToDialer()
'   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"
    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

John Walkenbach
For Excel tips, macros, & downloads...
http://j-walk.com/ss

HAGD:O)Bruintje
0
 

Author Comment

by:zeddock
ID: 7178098
Well... close.  That gives me a Phone Dialer program but it is in the background and more difficult to navigate than just picking up the phone... LOL.

Any ideas?

I am on XP.  That make a difference?

0
 
LVL 44

Expert Comment

by:bruintje
ID: 7178151
ok i have an idea but no time

using the mscomm control you could do this easily, but i don't know how you are into VB/VBA?

http://www.hardandsoftware.net/

is a place for free downloads mostly vb oriented but easily converted to Excel, just add the comm control to the references in the VBA Editor, put in a form and a button to dial from your sheet

as said sorry in a hurry to do this completely now, maybe someone else comes up with a working solution first

:O)Bruintje
0
 

Author Comment

by:zeddock
ID: 7178170
Thanx.  I looked at it, but looks beyond me.

Isn't there an add-in??

0
 

Author Comment

by:zeddock
ID: 7186119
Just increased points.

0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 44

Expert Comment

by:bruintje
ID: 7328565
Hello zeddock

i can't make it work but others can
http://www.am-woljo.com/exceldialer.html#exceldialer

HAGD:O)Bruintje
0
 
LVL 44

Accepted Solution

by:
bruintje earned 300 total points
ID: 7331288
my very last try on this one

http://www.bredlum.com/ee_temp/xlDialer.xls

just place the cursor in the first column and push the dial button it will start to dial the phone number and when connected you can pick up the handset

:O)Bruintje
0
 

Author Comment

by:zeddock
ID: 7334420
i think you got it. I will need to try at home where I have Dialtone.

Let you know tomorrow!

Thanx.
0
 
LVL 44

Expert Comment

by:bruintje
ID: 7400583
Hello zeddock

this question is open for more then 2 months
time to clean up
if not stated otherwise

my recom will be
-PAQ and refund
-this will be finalized by an EE Moderator
-with no further update (09.11.2002)

PLEASE DO NOT ACCEPT THIS COMMENT AS ANSWER

HAGD:O)Bruintje
posted by ToolzEE v1.0
0
 

Author Comment

by:zeddock
ID: 7407169
Thanx all.
Sorry for delay.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Microsoft Office Picture Manager is not included in Office 2013. This comes as a shock to users upgrading from earlier versions of Office, such as 2007 and 2010, where Picture Manager was included as a standard application. This article explains how…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now