This link explains how to do it:

http://support.microsoft.com/support.../Q210/0/67.ASP



"Gary" <hyefly@earthlink.net> wrote:
>
>what code do I use to play a wave sound when a form loads in Access2000,
>or a button is clicked on?
>
>I tried this:
>
>Me.OLEUnbound3.AutoActivate
>And I got this error: I get a compile error: Invalid use of property.
>
>in debug window "AutoActivate" is highlighted.
>
>Thanks
>Gary
>
>