Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default video clip in Excel

I have embedded a video clip in a spreadsheet and I have written a macro that
runs the video. It looks like this:

Sheets("Movie").Select
Range("F10").Select
ActiveSheet.Shapes("Object 1").Select
Selection.Verb Verb:=xlPrimary

It works great, UNLESS I copy the spreadsheet to another drive, Then the
macro can't find the AVI file and it opens an explorer type window to locate
the file.

Is there a way to have the macro look in the directory that the spreadsheet
is in for the AVI file? I can use the ActiveWorkbook.Path command to find
the current directory. Can I apply that to the AVI object?

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
Excel with Video Usage MikeC Excel Discussion (Misc queries) 0 December 18th 07 12:14 AM
Import a video into Excel Steve Excel Discussion (Misc queries) 0 June 5th 06 05:01 PM
Excel and video Ed Synergy Excel Discussion (Misc queries) 0 April 18th 05 09:44 AM
video in excel KimR.Hammel Excel Discussion (Misc queries) 1 February 22nd 05 07:29 PM
Excel and Video? Ross[_7_] Excel Programming 3 May 25th 04 05:01 PM


All times are GMT +1. The time now is 10:39 AM.

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

About Us

"It's about Microsoft Excel"