Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Adding Sound to Program Revisited
Hello all,
I chap called Bob Phillips assisted me in adding sound to a program, however when I tried to create my own program with sound it wouldn't work. I was wondering if someone here could point out where I might be going wrong. I keep on getting the error message : Sub or Function not defined. I think its because I somehow haven't declared "playwavfile" but I'm not sure. Any help would be appreciated. Private Sub Worksheet_Calculate() Static prevValue If Range("I1").Value prevValue Then PlayWavFile "C:\Windows\Media\Windows XP Print complete" prevValue = Range("I1").Value End If End Sub Cheers Carlton *** Sent via Developersdex http://www.developersdex.com *** |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Help with averages revisited | Excel Worksheet Functions | |||
adding sound to an excel i.e. warning if data is negative | Excel Discussion (Misc queries) | |||
Adding an embedded sound? | Excel Discussion (Misc queries) | |||
Adding Sound to Program Revisited | Excel Programming | |||
Adding Sound to Program | Excel Programming |