Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a macro to play a wave file. It works great (See code below) but,
the macro won't play my wave file all the way through to the end. It plays about 5 - 10 seconds of the file and that is about it. Does anyone have any idea on how to make the macro play the entire file all the way through? TIA Declare Function PlaySound Lib "winmm.dll" _ Alias "PlaySoundA" (ByVal lpszName As String, _ ByVal hModule As Long, _ ByVal dwFlags As Long) As Long Sub PlayMe1() Dim retval As Long retval = PlaySound("C:\My folder\my subfolder\wav1.wav", 0, &H20000) End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can I play a .WAV file in Excel if a condition is met? | Excel Worksheet Functions | |||
How can i play a wave file in excel? | Excel Discussion (Misc queries) | |||
How do I enter a wave sound file into an excel cell? | Excel Discussion (Misc queries) | |||
Macro to play wave file | Excel Programming | |||
Button for wave file | Excel Programming |