LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Is it Possible to add a Wave file to VBA

On Thu, 15 Apr 2004 06:16:08 -0700, Tom wrote
in microsoft.public.excel.programming:

Hi everyone,

Just a quick question, Is it possible to add a wave file to an Excel Command Button on a userform? I tried to copy the code over from a power point slide; however, it does not appear to be compatiable with Excel.

Anyway, just trying to have fun with userforms, if it is not possible not an issue, but if it is possible could someone let me know how.

[Please line wrap your posts]

Just invoke your favourite WAV player with Shell(), like so:
Shell "WAV ""path\your.WAV""", vbHide
where WAV is WAV.EXE v2.65 - Command line audio file player by WebGeek
Inc. (Dave Navarro). The current version is at http://www.cmdtools.com/.

--
Michael Bednarek http://mbednarek.com/ "POST NO BILLS"
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can i play a wave file in excel? pj Excel Discussion (Misc queries) 2 November 25th 05 07:36 PM
Is it Possible to add a Wave file to VBA Frank Kabel Excel Programming 0 April 15th 04 02:37 PM
Is it Possible to add a Wave file to VBA Tom Ogilvy Excel Programming 0 April 15th 04 02:36 PM
Macro to play wave file yo beee Excel Programming 1 October 29th 03 11:42 PM
Button for wave file Vasant Nanavati Excel Programming 6 October 24th 03 03:44 PM


All times are GMT +1. The time now is 09:51 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"