Article ID: 191122
Article Last Modified on 6/17/2005
Sub PlaySound()
Application.ExecuteExcel4Macro _
"SOUND.PLAY(,""Macintosh HD:Clear"")"
End Sub
Note the use of double quotation marks in this macro. These quotation
marks are necessary because the path to the sound file is a string, which
is included inside the outer string.
176476 OFF: Office Assistant Not Answering Visual Basic Questions
Additional query words: XL98
Keywords: kbhowto KB191122