+ Reply to Thread
Results 1 to 5 of 5

Play Sound in Excel

  1. #1
    Registered User
    Join Date
    04-10-2009
    Location
    VietNam
    MS-Off Ver
    Excel 2003
    Posts
    11

    Play Sound in Excel

    I want to create two buttons in a sheet (Play and Pause). If I press Play(or Pause) button, a sound will play (or Pause). The path of sound was stolen in A1. How can I do?

  2. #2
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    Re: Play Sound in Excel

    Make a commandbutton on your sheet. Dubble click and add this code

    Please Login or Register  to view this content.
    Last edited by rwgrietveld; 07-13-2009 at 04:16 AM.
    Looking for great solutions but hate waiting?
    Seach this Forum through Google

    www.Google.com
    (e.g. +multiple +IF site:excelforum.com/excel-general/ )

    www.Google.com
    (e.g. +fill +combobox site:excelforum.com/excel-programming/ )

    Ave,
    Ricardo

  3. #3
    Registered User
    Join Date
    04-10-2009
    Location
    VietNam
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: Play Sound in Excel

    No. I want to run a sound not change caption of button

  4. #4
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    Re: Play Sound in Excel

    Different approach. See the attachement:
    Attached Files Attached Files
    Last edited by rwgrietveld; 07-13-2009 at 07:46 AM.

  5. #5
    Registered User
    Join Date
    04-10-2009
    Location
    VietNam
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: Play Sound in Excel

    Thank you very much. But how to pause a sound.
    Last edited by nguyennb; 07-14-2009 at 04:56 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1