![]() |
#1
|
|||
|
|||
![]()
I have embedded a WindowsMediaPlayer ActiveX control in a Word document and I want to toggle Play/Pause using a keyboard shortcut (say, the F12 function key).
Problems: (1) I can create a macro with F12 as a keyboard shortcut, but I am not able to access the WindowsMediaPlayer control from the macro, apparently because it is in the Normal template instead of my VBA project. (2) Alternatively, when I try to assign keyboard shortcuts to a VBA project macro, this doesn't work. When I save the macro I can specify the VBA project instead of Normal.dotx, but this makes the keyboard shortcut go away. I'd like to either: (1) Access the WindowsMediaPlayer control from a macro in Normal, or (2) Tie a keyboard shortcut to a Macro in my VBA project Are either possible? |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hiding ActiveX Control When Converting To PDF | mtbmxrider | Word VBA | 2 | 07-10-2014 05:58 AM |
Prevent ActiveX Button Control from Deleted | screech | Word | 0 | 06-24-2014 07:29 AM |
activex windows media player control | Boo | Excel | 0 | 04-25-2013 05:48 PM |
ActiveX control to list directory | trew | Office | 1 | 04-17-2012 11:37 PM |
![]() |
tjhkckc | Office | 1 | 05-04-2006 10:16 PM |