Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel,microsoft.public.excel.misc,microsoft.public.excel.programming
|
|||
|
|||
Selectionstart
My last stupid question of the week...
Anyone know the syntax to set the selectionstart for a mediaplayer object in a userform please? I thought MP.selectionstart = 300 would start it 300 seconds in but apparently not. I'm using WMP 6 btw for various obscure reasons 8-) Many thanks in advance tp |
#2
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming,microsoft.public.excel
|
|||
|
|||
Selectionstart
I am sure I will be corrected by smarter people, but I don't believe
selectionstart is an option for mediaplayer objects. SelectionStart is a textbox control that allows you to select portions of entries into the textbox. When waiting 300 seconds, do you have users looking at something else on the userform? or is it on a worksheet? You could use the application.wait function to time the opening of the userform with the WP control on it. I can't seem to find anything to have the player wait to play. "teepee" wrote: My last stupid question of the week... Anyone know the syntax to set the selectionstart for a mediaplayer object in a userform please? I thought MP.selectionstart = 300 would start it 300 seconds in but apparently not. I'm using WMP 6 btw for various obscure reasons 8-) Many thanks in advance tp |
#3
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming,microsoft.public.excel
|
|||
|
|||
Selectionstart
"JNW" wrote I am sure I will be corrected by smarter people, but I don't believe selectionstart is an option for mediaplayer objects. SelectionStart is a textbox control that allows you to select portions of entries into the textbox. I've done this before, s oI know it can be done, but I didn't keep the sheet, rather stupidly. It needed a command inserting in the module that summoned the userform iirc |
#4
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming,microsoft.public.excel
|
|||
|
|||
Selectionstart
Thanks for the heads up. I'm learning new things everyday.
So after some searching and playing I came up with the following: WP.Controls.currentPosition = 300 Instead of selectionStart it sets teh current position of the player in the song. The number is still in seconds. I had this in a userform_initialize event but could put it other places as well. Hope that works "teepee" wrote: "JNW" wrote I am sure I will be corrected by smarter people, but I don't believe selectionstart is an option for mediaplayer objects. SelectionStart is a textbox control that allows you to select portions of entries into the textbox. I've done this before, s oI know it can be done, but I didn't keep the sheet, rather stupidly. It needed a command inserting in the module that summoned the userform iirc |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Selectionstart | Excel Discussion (Misc queries) |