Skype Developer Zone logo
  • Login
  • Home
  • Tools & SDKs
  • Docs & Samples
  • Support
  • Certification
  • Community
  • Shop
  • Blog
Peter Kalmström

Excel spreadsheet that sends sms

By My status Peter Kalmström on March 18, 2008 in .

Technorati-taggar: Excel,Skype,VBA,SMS

Our execs are a sporty lot and this time of year they like to spend time on the ski-slopes. Of course they still wanto keep on top of recent developments and one way to do that is to get regular sms messages with the data. As in most organizations the information they need exists in spreadsheets that. So how to get the information from the spreadsheets to the sms messages. Of course our analysts and business intelligence staff is equally sporty and don't like to spend time manually sending those sms messages. In comes me - in this case being a in-house developer! With a simple VBA script I fixed them up a solution that everyone seems happy with :-)

Thought I should share the steps I did with you:

  1. Created a new workbook
  2. Named the sheets Message to be sent and Recipients and added some comments to help the BI staff
  3. Wrote some VBA script that reads the message to be sent
  4. Some more script to read the recipient mobile phone numbers from the spreadsheet
  5. Added a button on a third sheet with the caption Send now
  6. Another procedure to actually send the Skype sms message by
    • Creating a reference to the Skype4COM library
    • Attaching to the Skype
    • Creating an outgoing sms message addressed to the appropriate recipients
    • Setting the body of the sms message
    • Sending it
  7. Since the BIs don't want to stay by the computer to actually press the button so finally I also added a way to automatically send the message once a day.

Now we can all happily go skiing while the computers do the work!

If you want to read the source or even use the workbook as is, it is attached. I hope it comes in handy for you!

Bookmark and Share

View blog reactions

Comments

Nice feature.

I couldn't find a "suggest a feature" so i hopes its ok to throw my ideas here. As an IT consultant, i regularly recommend skype to small businesses as a very cost effective communication system. I make strong use of it in ecommerce too.

Usually, i set up several people signed in under one account, whoever answers first gets the call. this is the only practical way of having one skypein number without pbx software. what would be good, is if people under the same account could call themselves. e.g. you could have mattsaxuk/com1 mattsaxuk/com2 etc. that way you could transfer around inside your own account.

also, the ability to write notes on a contact would be great, and maybe in the future, a way of getting files like on an ftp folder so that everyone can bring up previous orders from their own computer, right in skype.

Thanks!

Matt

mattsaxuk | Tuesday, Apr 15

I have tried these macros and I seem to get a timeout error which I can´t seem to fix, any ideas??

willphdavies | Monday, May 26

Hi,
can you please explain how to do this?

'Creating a reference to the Skype4COM library
'Attaching to the Skype

Thank you

brazool | Tuesday, Nov 4

HI
I get a bug when the code comes to here:
Set objSMS = objSkype.CreateSms(smsMessageTypeOutgoing, strRecipients)

bug = SMS: CreateSMS takes a list of phonenumbers !!

theo

theoberkhoudt | Saturday, Feb 28

HI
I get a bug when the code comes to here:
Set objSMS = objSkype.CreateSms(smsMessageTypeOutgoing, strRecipients)

bug = SMS: CreateSMS takes a list of phonenumbers !!

theo

theoberkhoudt | Saturday, Feb 28

Hi again

No problems. It works fine. It seems the telephone number always must have the country number included fx. +45 for Denmark.

Theo

theoberkhoudt | Saturday, Feb 28

Hi!
Great!!!

But, how can I do to send different sms texts for each row of the "Message to be sent" to each number of the "Recipients" rows?

iomanu86 | Sunday, Jul 5

Comment on this post

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

Please read our comment guidelines before posting your comment.

Back to index

Subscribe to this blog
What? Tell me more…

using RSS Subscribe
via Bloglines Subscribe in Bloglines
using Newsgator Subscribe in NewsGator Online
with MyYahoo
with Google Add to Google
with My AOL Add to My AOL
with Anothr.com Subscribe by Anothr
with netvibes Add to Netvibes
with email Get email updates
Skype Developer Newsletter

Sign up now for all the latest news, tips and tricks on using Skype Public API.

Skype Blogs
  • Share Skype Blog
  • Heartbeat
  • Developer Zone
  • Business
  • Skype Gear
  • Security
  • Garage
  • Mac
  • Linux
  • Eesti keeles
  • 日本語
  • Česky
  • Deutsch
  • Français
  • Italiano
  • Brasil
  • United Kingdom
  • Polski
  • United States
  • 한국어

Recent posts

  • Developer Zone and Jira down for maintenance
  • The future of Skype Extras
  • Skype name recognition in Skype 4.1
  • Summer break in Extras update from 20th July to 9th August
  • Version 1.0.32 of Skype4COM is now available for download
  • Skype for Windows 4.1 Beta is Live
  • CTSS - Chat Translator and Speaker for Skype
  • Router Lab
  • A pause in Extras update until 23rd April
  • Jason Fischl joins Skype as Director of Developer Relations

Archives

  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008
  • December 2007
  • November 2007
  • October 2007
  • September 2007
  • August 2007
  • July 2007
  • June 2007
  • May 2007
  • April 2007
  • March 2007
  • February 2007
  • January 2007
  • December 2006
  • November 2006
  • October 2006
  • September 2006
  • August 2006
  • July 2006
  • June 2006
  • May 2006
  • April 2006
  • March 2006
  • February 2006
  • January 2006
  • December 2005
  • November 2005
  • October 2005
  • September 2005
  • August 2005
  • July 2005
About us · Partners · Jobs · Prices · Security
Privacy policy · Legal · © 2009 Skype Limited