How to embed a swf file in excel/word?
Using Office XP, Excel or Word
From the 'View' menu select 'Toolbars' and tick the 'Control Toolbox'
On the 'Control Toolbox' toolbar click on the 'More controls' icon
A list of controls will be displayed. Scroll down until you find the 'Shockwave Flash Object' and then click on it.
Excel
This should change your cursor to a crosshair. Move to the area on the worksheet where you want to inset the 'Shockwave Flash Object'.
Left click, hold and drag to create a box of the required size.
Word
Word will automatically insert the control where the cursor is.
It's size can be set by dragging the edges or via it's 'Properties'
Next right click on the control you have just inserted and select 'Properties'.
Set the following properties
- Autoload = True
- EmbedMovie = True
- Enabled = True
- Loop = True
- Playing = True
- Visible = True
- Movie = c:\flash.swf (Change this to the location of your .swf file)
Close the 'Properties' control
Save the file.
Close the file.
Reopen the file.
The .swf file should start playing automatically.
Comments