Solved

Excel VBA

Posted on 1998-10-28
10
143 Views
Last Modified: 2012-05-04
In either Excel 95 or 97, can someone tell me of a way to run an avi within a worksheet. Thanking you for your help in advance.
0
Comment
Question by:timjc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
10 Comments
 
LVL 3

Accepted Solution

by:
fguerreiro_inix earned 70 total points
ID: 1442163
Menu
Insert-Object-MovieClip


Hope this helps
Regards
0
 
LVL 3

Expert Comment

by:fguerreiro_inix
ID: 1442164
If you alredy have the *.avi in your workshett,
run the folowing code in a macro

    ActiveSheet.Shapes("Object 1").Select
    Selection.Verb Verb:=xlPrimary
    ActiveWindow.SmallScroll Down:=-5

0
 
LVL 2

Expert Comment

by:cartti
ID: 1442165
That's all very well, but how do you operate it ? It seems to be a bitmap of the first frame of the movie.
0
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

 
LVL 2

Expert Comment

by:cartti
ID: 1442166
I've just found out. Right mouse click for pop-up menu.
0
 
LVL 3

Expert Comment

by:fguerreiro_inix
ID: 1442167
So it works?

Bye
0
 
LVL 2

Expert Comment

by:cartti
ID: 1442168
I've just found out. Right mouse click for pop-up menu.
0
 
LVL 2

Expert Comment

by:cartti
ID: 1442169
I've just found out. Right mouse click for pop-up menu.
0
 
LVL 3

Expert Comment

by:fguerreiro_inix
ID: 1442170
What about points cartti?
I' think I've put in the right way
0
 

Author Comment

by:timjc
ID: 1442171
I would have preferred it if the code was more flexible (rather than assuming the object would be named "Object1" etc.) Seems to be a recorded macro. Why is the line "ActiveWindow.SmallScroll Down:=-5 " necessary for example.
0
 
LVL 3

Expert Comment

by:fguerreiro_inix
ID: 1442172
Forget it

Bye
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month8 days, 23 hours left to enroll

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question