Syntax for sounds in macros

J

John Doue

Could anyone tell me where to look? I wish to have macros play sounds
and cannot seem to find the relevant info.

Regards
 
B

Beth Melton

Utilizing VBA and a sound API requires a little more elaboration than
I can accomplish in a newsgroup post. :)

(Not to mention the last time I helped someone add sound to a project
I came close to getting strung up by their co-workers who found the
"Jeopardy" theme a bit annoying. I didn't know that was the plan -
honest!! <grin>)

Either use Google to search for "sound API" and VBA or head over to
one of the VBA newsgroups specific to the application you are using.
Someone there may have some links to tutorials and examples on hand.
--
Please post all follow-up questions to the newsgroup. Requests for
assistance by email can not be acknowledged.

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP

Word FAQ: http://mvps.org/word
TechTrax eZine: http://mousetrax.com/techtrax/
MVP FAQ site: http://mvps.org/
 
J

John Doue

Beth said:
Utilizing VBA and a sound API requires a little more elaboration than
I can accomplish in a newsgroup post. :)

(Not to mention the last time I helped someone add sound to a project
I came close to getting strung up by their co-workers who found the
"Jeopardy" theme a bit annoying. I didn't know that was the plan -
honest!! <grin>)

Either use Google to search for "sound API" and VBA or head over to
one of the VBA newsgroups specific to the application you are using.
Someone there may have some links to tutorials and examples on hand.
Thanks, that's a start.

Regards
 
M

Mark

John said:
Could anyone tell me where to look? I wish to have macros play sounds
and cannot seem to find the relevant info.

I play sounds (wav files) using sound recorder:

sndrec32.exe /embedding /play /close "sound.wav"

Mark
 
Top