ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Auto exe inserted audio file in word (https://www.excelbanter.com/excel-programming/357694-auto-exe-inserted-audio-file-word.html)

purplemx via OfficeKB.com

Auto exe inserted audio file in word
 
Hi

I delete a file by error, where I was using a macro to open a word document
with
One inserted audio file. I don’t remember how I recorded it.

Please I need a macro to play the audio file when a the word document is open

I'm using this with excell, but doesn't work with WORD

Sub Auto open ()'

ActiveSheet.Shapes("Object 2").Select
Selection.Verb Verb:=xlPrimary
End Sub

If someone have a easiest code to open the file inserted in word I will
appreciated

Thanks..

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200603/1


All times are GMT +1. The time now is 04:06 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com