Solved

Need Simple Autodialer for Excel

Posted on 2002-07-25
10
620 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Thanx.  I looked at it, but looks beyond me.

Isn't there an add-in??

0
 

Author Comment

by:zeddock
Comment Utility
Just increased points.

0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
LVL 44

Expert Comment

by:bruintje
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Thanx all.
Sorry for delay.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
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…

763 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

6 Experts available now in Live!

Get 1:1 Help Now