Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Flash embedded in Excel

Flash embedded in Excel

Flash embedded in Excel


Does anyone know how to stop Flash running in Excel, we have games emailed in embedded in Excel that are written in Flash.


mark O

RE: Flash embedded in Excel

If the flash is on the worksheet:
You need to disable macros on open or switch design mode (display Visual Basic toolbar and select design mode). If the worksheet isn't protected, you can select flash object and delete it.

For the flash on the userform:
Select all worksheets (in excel window) and copy into new workbook. You can also go to vba project (Tools>Macros>VB Editor), find proper workbook in VBProjects window and delete proper userform.


RE: Flash embedded in Excel

Thats great but we have over 300 users here I need a group policy to stop it.

RE: Flash embedded in Excel

Do you want to stop mailing excel files with flash? This could be rather hard without binary examination of the file.
Probably administrator could set office security level to high, this would be enough to lock flash (but also all macros).
If this is an internal problem, I would discuss it with someone from HR dept.


RE: Flash embedded in Excel

Hr are on the case, but they want it stopping. we've upped the security level but it didn't work it doesn't see it as a threat.

RE: Flash embedded in Excel

Could you test/confirm the following:
1. is the flash object embedded in excel worksheet or is displayed on custom userform?
2. what happens when you disable macros (or switch to design mode)? Can you select and delete manually the flash object?
3. set the excel security level to high (tools>macro>security tab) and close excel. Open the mail with flash in excel file. Is the flash object enabled or disabled (see 2).

You can consider writing excel add-in that tests all oleobjects when opening file, for an active sheet the code could be:


Dim olo As OLEObject
For Each olo In ActiveSheet.OLEObjects
If TypeName(olo.Object) = "ShockwaveFlash" Then
    MsgBox "flash object found"
    ' proceed with file
End If
Next olo
You need to deal with application events.


RE: Flash embedded in Excel

We have the same problem - flash games "smuggled" into our corporate network as Excel files.

There doesn't seem to be a "global" fix.

RE: Flash embedded in Excel

i have come up with a crude way to stop this:

the file C:\WINDOWS\system32\Macromed\Flash\Flash8b.ocx

controls flash - if you rename this file, or change the permission globally on it to only certain users (directors, admins etc only)

this will work.

RE: Flash embedded in Excel

to add further - this can be done via AD \ GPO.

create an OU in AD, called deny shockwave or something, then put the computers into this OU.

create and link a GPO to this OU with this criteria:

COMPUTER CONFIGURATION\WINDOWS SETTINGS\SECURITY SETTINGS\FILE SYSTEM\ then add the C:\WINDOWS\system32\Macromed\Flash\Flash8.ocx file to it and permission it how you like - apply, ok!

your laughing, and the staff are frowning!!!! ;o)

RE: Flash embedded in Excel

Does this stop flash running in IE? we have to access some flash enabled web sites?

RE: Flash embedded in Excel

lol YES it stops all flash mate!!!!

depending on how u permission it.

we've allowed only IT Admins, and our Directors FLASH access through this method.

RE: Flash embedded in Excel

regarding flash in IE - we use a program called SURFCONTROL WEBFILTER - and only let IT admins and Directors access flash websites = this is why we've matched the Flash8.ocx file permissions to Surfcontrol's permissions.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close