Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Excel VBA

Posted on 1998-10-28
10
Medium Priority
?
145 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 140 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…

879 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