Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / February 2008

Tip: Looking for answers? Try searching our database.

how do I insert music file in word document

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Melvin - 16 Feb 2008 21:29 GMT
when I open a word document I want a music file to start playing. Can I do
this?
Jean-Guy Marcil - 18 Feb 2008 16:41 GMT
> when I open a word document I want a music file to start playing. Can I do
> this?

You are not giving us much to go on... ;-)

Where would this file be located (hard drive, embedded in Word doc...)? Is
this just for you on yourmachine or would you need to distribute this to
other users? You mean when a particular document is opened, or any document?
Word version?

Generally, for a specific document, in the ThisDocument module, use this sub:

Private Sub Document_Open()

Dim OpenSound As Object

OpenSound = Shell("Path to application\Sound file")

End Sub
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.