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



    _______________________________________________
    There are 10 types of people in the world. Those that understand Binary and those that dont. :P


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

    _______________________________________________

  • [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 "Smiley" icon, below, in the bottom right corner :)

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!