Solved

Excel VBA

Posted on 1998-10-28
10
132 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
  • 5
  • 4
10 Comments
 
LVL 3

Accepted Solution

by:
fguerreiro_inix earned 70 total points
Comment Utility
Menu
Insert-Object-MovieClip


Hope this helps
Regards
0
 
LVL 3

Expert Comment

by:fguerreiro_inix
Comment Utility
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
Comment Utility
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
 
LVL 2

Expert Comment

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

Expert Comment

by:fguerreiro_inix
Comment Utility
So it works?

Bye
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 2

Expert Comment

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

Expert Comment

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

Expert Comment

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

Author Comment

by:timjc
Comment Utility
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
Comment Utility
Forget it

Bye
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

728 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now