PDA

View Full Version : Insert audio file into Word help



markh1182
08-28-2007, 07:15 AM
Hi,
I would like to be able to insert an audio file into word (eg .mp3, .wma, .wav). I know I can insert an object, selecting the relevant one for which type of extension I require, but does anyone know how I can then pick up this object through code so that if required that object can be deleted?

The reason is we want to insert audio files to help users in filling in a document, but don't want it to show once the document has been produced and sent out.

Thanks, Mark

fumei
08-28-2007, 01:05 PM
Unless you have put it in one of those horrid textboxes, it is most likely an InlineShape.

In which case, it is exposed through the InlineShape collection and can be easily deleted.