Playing a sound file in windows 7 using VBA

  • Yes, it works on Windows 7 - I have 64 bit, so I needed to change the declare statement slightly:


    http://www.cpearson.com/excel/PlaySound.aspx



    Check out our new reputation system. Click on the Like button under the post!
    _______________________________________________

    [SIZE=8px]There are 10 types of people in the world. Those that understand Binary and those that dont.


    Why are Halloween and Christmas the same? Because Oct 31 = Dec 25...


    The BEST Lookup function of all time


    Dynamic Named Ranges are your bestest friend[/SIZE]
    _______________________________________________

  • [USER="14138"]Ger Plante[/USER]


    Many Thanks for this useful refresher ... :wink:

    If you feel like saying "Thank You" for the help received, do not hesitate to click the "Like" icon ...just below...in the bottom right corner...:)