Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 44
Default Playing audio, but not from the start

I want to create a VBA macro in Excel which will play an audio file that is
hyperlinked from the cell next to the selected cell, but it is not to start
playing from the beginning of the file. The start time is to be taken from
the active cell. I want to know if it is possible to do this, and if so, how.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,163
Default Playing audio, but not from the start

To do something that complex you would need to use Excel to automate your
audio player. You could, for example, use VBA code to create an instance of
Windows Media Player and then automate it to do what you want, but the
details would be dependent on the object model for Win Media Player, and I
have minimal experience with that. But to get you pointed in that direction,
I would suggest you head to the newsgroups for Windows Media Player - and if
you are not familiar with how to automate applications from within VBA do a
search of the MSDN site on the topic "automation".
--
- K Dales


"Natalie" wrote:

I want to create a VBA macro in Excel which will play an audio file that is
hyperlinked from the cell next to the selected cell, but it is not to start
playing from the beginning of the file. The start time is to be taken from
the active cell. I want to know if it is possible to do this, and if so, how.

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 44
Default Playing audio, but not from the start

I am new to Newsgroups. Can you please tell me where the Win Media Player
newgroup hides itself. I have looked in Clip-Art and Media, but that appears
to be mainly Clip-Arty!

Movies produced by Camtasia Studio can have a Table of Contents which allows
me to jump to to marked points, so, in my innocence, I thought this might be
easy.

"K Dales" wrote:

To do something that complex you would need to use Excel to automate your
audio player. You could, for example, use VBA code to create an instance of
Windows Media Player and then automate it to do what you want, but the
details would be dependent on the object model for Win Media Player, and I
have minimal experience with that. But to get you pointed in that direction,
I would suggest you head to the newsgroups for Windows Media Player - and if
you are not familiar with how to automate applications from within VBA do a
search of the MSDN site on the topic "automation".
--
- K Dales


"Natalie" wrote:

I want to create a VBA macro in Excel which will play an audio file that is
hyperlinked from the cell next to the selected cell, but it is not to start
playing from the beginning of the file. The start time is to be taken from
the active cell. I want to know if it is possible to do this, and if so, how.

Thanks

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,163
Default Playing audio, but not from the start

Here is the main list of Windows Media newsgroups:
http://msdn.microsoft.com/newsgroups.../118/topic.xml

The other way to approach this, if supported by Camtasia Studio, would be to
do it by automation. Don't know how familiar you are with VBA and automating
other apps from within Excel. Not all apps support it, but you may be able
to open and run Camtasia through VBA code. If interested in pursuing this
idea suggest you search this site on topic of automation, and also search
Camtasia site.
--
- K Dales


"Natalie" wrote:

I am new to Newsgroups. Can you please tell me where the Win Media Player
newgroup hides itself. I have looked in Clip-Art and Media, but that appears
to be mainly Clip-Arty!

Movies produced by Camtasia Studio can have a Table of Contents which allows
me to jump to to marked points, so, in my innocence, I thought this might be
easy.

"K Dales" wrote:

To do something that complex you would need to use Excel to automate your
audio player. You could, for example, use VBA code to create an instance of
Windows Media Player and then automate it to do what you want, but the
details would be dependent on the object model for Win Media Player, and I
have minimal experience with that. But to get you pointed in that direction,
I would suggest you head to the newsgroups for Windows Media Player - and if
you are not familiar with how to automate applications from within VBA do a
search of the MSDN site on the topic "automation".
--
- K Dales


"Natalie" wrote:

I want to create a VBA macro in Excel which will play an audio file that is
hyperlinked from the cell next to the selected cell, but it is not to start
playing from the beginning of the file. The start time is to be taken from
the active cell. I want to know if it is possible to do this, and if so, how.

Thanks

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
How do I set up an audio alert in excel? Vicelike Excel Discussion (Misc queries) 2 February 25th 10 06:26 PM
Playing an audio file in Excel Fuji0664 Excel Discussion (Misc queries) 2 October 23rd 09 03:55 AM
x log, y lin audio frequency chart Jim Charts and Charting in Excel 3 December 27th 07 04:15 PM
Detecting the actual playing or NOT playing of a WAV file Bajbaj Excel Discussion (Misc queries) 0 October 24th 07 09:16 PM
turn on audio in excel Linda Excel Discussion (Misc queries) 1 March 20th 06 05:04 PM


All times are GMT +1. The time now is 09:46 AM.

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"