How to Play Sounds Using Visual Basic for Applications (158140)
The information in this article applies to:
- Microsoft Excel 97 for Windows
- Microsoft Excel for Windows 95
This article was previously published under Q158140 SUMMARY
In Microsoft Excel 97, cell notes have been replaced with cell comments
and no longer support sound notes. However, you can use a Visual Basic for
Applications procedure to play sounds. In order to play a sound in a Visual
Basic for Applications procedure, a Windows API function, sndPlaySound32(),
can be used to play a wave (.wav) file.
REFERENCES
For additional information on comments in cells, please see the following
article in the Microsoft Knowledge Base:
156200
XL97: Sounds Not Converted with Cell Notes
Modification Type: | Minor | Last Reviewed: | 10/10/2006 |
---|
Keywords: | kbdtacode kbProgramming KB158140 |
---|
|