Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi:
Declare Function PlaySound Lib "winmm.dll" _ Alias "PlaySoundA" (ByVal lpszName As String, _ ByVal hModule As Long, _ ByVal dwFlags As Long) As Long Sub PlayMe() Dim retval As Long retval = PlaySound("C:\user\Book\chord.wav", 0, &H20000) End Sub Regards, Vasant. "yo beee" wrote in message ... Hey all, Thanks to all programmers who help us newbies out all the time. You are invaluable. I'm sure this issue has been here before but here goes. I need a command button to play a wave file. My wave file is called "chord.wav" and resides in the following directory: "C:\user\Book" My Excel workbook resides in the same directory and is called "MNB.xls" The user hits the button and the wave file plays. That's it. TIA |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
sine wave trendline | Charts and Charting in Excel | |||
How can i play a wave file in excel? | Excel Discussion (Misc queries) | |||
Chart Animated Sine Wave | Charts and Charting in Excel | |||
sine wave trendline | Excel Discussion (Misc queries) | |||
How do I enter a wave sound file into an excel cell? | Excel Discussion (Misc queries) |