Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Issue with Play Wav File from Excel worksheet

13 Mar 2018   #1

Issue with Play Wav File from Excel worksheet


I have used a routine to asynchronously play a .wav file from an Excel VBA module for years, courtesy of Chip Pearson. However, I had not used it since I upgraded to Windows 7 a couple of years ago. Upon attempting to use it this evening it is exhibiting some strange behavior.

It successfully plays the .wav file from both of these path indicators when the .wav file is copied to the specified directory:

strSoundFile = "C:\Yahoo.wav"

strSoundFile = "C:\Windows\Yahoo.wav"

However, when I copy the .wav file to the C:\Windows\Media folder, this path simply does not play the file. No error message. Just silence. It does play any .wav file contained in the Windows Media file.

strSoundFile = "C:\Windows\Media\Yahoo.wav

Can anyone offer a reason, or reasons, why this behavior is occurring?

Thank for any/all help..

My System SpecsSystem Spec

 Issue with Play Wav File from Excel worksheet

Thread Tools

Similar help and support threads
Thread Forum
Excel data entry issue
Respected sir I hv a excel issue on my win 7 The average of the data not changed wen i change my data the formula is correct n every thing is correct but there is an issue Wen i save the file the data is instantly changed Kindly resolve my issue
Microsoft Office
Help!! Excel worksheet look empty after Office 2010 uninstall
Hello Big problem for me I install Office 2013 about 2 months ago. Prior, I was using Office 2010 after Office 2007 etc. Today, I saw the both version was install on My PC. Office 2013 and Office 2010. So I close all Excel sheet and proced to uninstall Office 2010 and Office 2010...
Microsoft Office
Issue Saving Microsoft Excel file on Network Share
So, I have an interesting issue that I cannot solve. I have a Microsoft Excel 2010 file created by User A. User A has full permissions to the file. User A has created the document and saved it onto a network share folder. User B also has Microsoft Excel 2010 and can access the network share and...
Network & Sharing
Using HLOOKUP & VLOOKUP to pick data from another Worksheet
Hi all I am creating a table at work, which lists the sales managers for different products and then further sub-sorted for different locations. The old table had every name manually filled into it. Now, I have to update the table as new people have come in and existing ones have left etc. I...
Microsoft Office
Delete empty cells in worksheet
I am a newbie to Excel and have created a small calculation worksheet. It only occupies a small section of the worksheet and I would like to know how to only show that part and not showing the empty cells. I am using Microsoft Office 2007. Thanks jack
Microsoft Office

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 15:33.
Twitter Facebook Google+