Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Need Simple Autodialer for Excel

Posted on 2002-07-25
10
627 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
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
My experience with Windows 10 over a one year period and suggestions for smooth operation
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …

856 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