Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Guys, the code below was kindly posted by Michel Pierron...
It works fine, but I really wanted it to run in it own window so the spreadsheet can be seen behind the avi...How do I adjust the code to do this? can I pick the avi window size/position? Thanks for any help.... ste Private Declare Function mciSendString Lib "winmm.dll" _ Alias "mciSendStringA" (ByVal lpstrCommand As String _ , ByVal lpstrReturnString As Any, ByVal uReturnLength As Long _ , ByVal hwndCallback As Long) As Long Sub FullScreenAvi() Const aviFile = "C:\Clock.avi" ' Modify as appropriate Dim Cmd As String Cmd = "play " & aviFile & " fullscreen " mciSendString Cmd, 0&, 0, 0& End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Pictures and Text Boxes print in wrong position and size in 2007 | Excel Discussion (Misc queries) | |||
Fix size and position of comment | Excel Discussion (Misc queries) | |||
File Size With Macros Has Increased From Its Origina Size | Excel Discussion (Misc queries) | |||
Window Position & Size | Excel Discussion (Misc queries) | |||
Auto-Size and Position Pictures with a Macro ? | Excel Programming |