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"