Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How do I create a macro to insert an audio file into Excel?

I want to create a form where the user can insert an object (in this case an
audio file) for later review. I tried to record a simple macro to accomplish
this but I can't stop recording once the navigation windows open.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 860
Default How do I create a macro to insert an audio file into Excel?

Hi Mike,

Mike Greene wrote:
I want to create a form where the user can insert an object (in this
case an audio file) for later review. I tried to record a simple
macro to accomplish this but I can't stop recording once the
navigation windows open.


Do you just want a WAV file embedded in the document as an OLE object? If
so, something like this will work:

ActiveSheet.OLEObjects.Add "mysound.wav"

Or are you looking for something more?

--
Regards,

Jake Marx
www.longhead.com


[please keep replies in the newsgroup - email address unmonitored]


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How do I create a macro to insert an audio file into Excel?

Thanks for the assist, Jake.

I have a spreadsheet/form that is used for reviewing sales cales in the form
of WAV files. I wanted to create a macro that would allow them to select the
file from a directory and insert it into the form for upper management to
review at a later time.

"Jake Marx" wrote:

Hi Mike,

Mike Greene wrote:
I want to create a form where the user can insert an object (in this
case an audio file) for later review. I tried to record a simple
macro to accomplish this but I can't stop recording once the
navigation windows open.


Do you just want a WAV file embedded in the document as an OLE object? If
so, something like this will work:

ActiveSheet.OLEObjects.Add "mysound.wav"

Or are you looking for something more?

--
Regards,

Jake Marx
www.longhead.com


[please keep replies in the newsgroup - email address unmonitored]



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Playing an audio file in Excel Fuji0664 Excel Discussion (Misc queries) 2 October 23rd 09 03:55 AM
Audio file in Excel Maurice Excel Discussion (Misc queries) 1 October 3rd 07 06:25 PM
attach audio file, ding.. if meet condition nastech Excel Discussion (Misc queries) 1 July 14th 07 05:10 AM
Create an Excel file using a macro Cillian Excel Discussion (Misc queries) 0 January 9th 06 06:32 PM
Can I use Excel to create a tutorial with an audio commentary? barryross Excel Discussion (Misc queries) 0 July 12th 05 10:47 AM


All times are GMT +1. The time now is 10:19 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"