Add sound to buttons?

R

Roby

I would like a sound to play when a button is press that also contains a
marco. Any thoughts??
 
D

Douglas J. Steele

http://www.mvps.org/access/api/api0011.htm at "The Access Web" shows how to
play a WAV file.

If the click event of your buttons are already associated with macros, I'd
recommend rewriting the macros as VBA, and include the call to fPlayStuff in
your VBA code, although I suppose you can strictly call the function from
the existing macros.
 
Top