Adding an embedded sound?

T

Terry Pinnell

Just checked, but I don't see a 'microsoft.public.word.general' or
'microsoft.public.word.misc' newsgroup, so I'm posting here, even
though this is not about a Word 'application error'.

My requirement is to embed (not link) a sound file in a *PowerPoint*
PPT file. I duly enquired in microsoft.public.powerpoint, but I'm
confused by the reply that I *cannot* embed an MP3 or WMA, because I
appear to have done so successfully!

On the assumption that the object-embedding facility in Word 2000 is
similar to that in PowerPoint 2000, I just repeated the exercise in
Word. That too was successful. The test DOC file I used grew from 13
KB to 1301 KB after embedding a 1276 KB MP3 file. And then I deleted
the music file, yet the DOC still played it. That's identical
behaviour to PowerPoint. IMO that seems conclusive evidence that the
replies I had were mistaken.

Assuming one of the Office experts here confirm my conclusion, how can
I go one step further and get the sound played *automatically* as soon
as the file is opened please, rather than having to d-click the
object's icon and answer Yes in the dialogue?

Any help will be much appreciated please. If the steps are explicitly
for Word, I'll cheerfully then try the equivalent in PowerPoint.
 
H

Herb Tyson [MVP]

I don't know if there's an equivalent in PowerPoint. But, to do it in Word:

1. Make sure that the sound object's layout is In Line With Text
(right-click, choose Format Object - Layout tab, etc).

2. Select the sound, and Insert a bookmark, so that Word can automatically
find it when it opens the document.

3. Record the following macro, naming it AutoOpen, and storing it in the
document, rather than in Normal.dot:

a. Choose Edit - Goto - Bookmark - [name of bookmark inserted in step 2];
close the dialog box.

b. Choose Edit - Sound Recorder Document Object - Play.

Note that it might not be called "Sound Recorder Document Object" for you,
but it's usually at the bottom of the Edit menu.

4. Close the Macro recorder.

Save/Close the file, then reopen it to see if it works.

Following those steps to play a .wav file here, works.
 
T

Terry Pinnell

Herb Tyson said:
I don't know if there's an equivalent in PowerPoint. But, to do it in Word:

1. Make sure that the sound object's layout is In Line With Text
(right-click, choose Format Object - Layout tab, etc).

2. Select the sound, and Insert a bookmark, so that Word can automatically
find it when it opens the document.

3. Record the following macro, naming it AutoOpen, and storing it in the
document, rather than in Normal.dot:

a. Choose Edit - Goto - Bookmark - [name of bookmark inserted in step 2];
close the dialog box.

b. Choose Edit - Sound Recorder Document Object - Play.

Note that it might not be called "Sound Recorder Document Object" for you,
but it's usually at the bottom of the Edit menu.

4. Close the Macro recorder.

Save/Close the file, then reopen it to see if it works.

Following those steps to play a .wav file here, works.

Excellent, thanks Herb - I'll try that later today. And, in this
specific example, it seems there's only a single slide in Janet's PP
presentation, so it would be quite acceptable to display it in Word
instead. (Even though the audience might miss the animation glitz
<g>.)
 
Top