Solved

Need Simple Autodialer for Excel

Posted on 2002-07-25
10
624 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
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 

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
 
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Introduction It seems that at least a couple of times per month, I answer a question that requires automating Outlook from another Microsoft Office application, usually (although not always) to send one or more email messages.  For example: …
PaperPort has a feature called the "Send To Bar". It provides a convenient, drag-and-drop interface for using other installed software, such as Microsoft Office. However, this article shows that the latest Office 2016 apps (installed with an Office …
This video shows and describes the main difference between both orientations in Microsoft Word. Viewers will understand when to use each orientation and how to get the most out of them.
The viewer will learn how to make their project stand out over others by learning how to change colors and shapes, add spaces, change directions, and add bullets to their charts.

816 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

10 Experts available now in Live!

Get 1:1 Help Now