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 ***
Bookmarks