Disappearing macro

KatPrichett

New Member
Joined
Jul 26, 2010
Messages
10
Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:eek:ffice:eek:ffice" /><o:p></o:p>
<o:p></o:p>
I have written a macro which disappears when my colleague opens the excel document but it is still there when I reopen the document. When I initially created the document/macro, he had no problem opening and running the macro and then one day it just wasn't there anymore.<o:p></o:p>
<o:p></o:p>
I have checked his setting and Macro's are enabled - we are both running Office 2007 and the document is saved on a SharePoint site. The macro is very basic and just completes some format changes.<o:p></o:p>
<o:p></o:p>
Does anyone have any suggestions of what could be wrong please?<o:p></o:p>
<o:p></o:p>
Thanks<o:p></o:p>
Kat
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
What happens if you copy and then paste it in a new document then save that as if you are starting from scratch? After he gets the new document does it still happen?

MrCastrovinci
 
Upvote 0
Ok, so I created a new workbook and simiply added a button and copied the code across - he could run the macro.
I also copied the original workbook onto our network drive to see if Sharepoint was affecting it but no luck - when he clicks on the option button to try and enable the macros he gets the following:

Security Alert
This file contains encrypted macros that have been disabled because there is no antivirus software installed that can scan them. To run these macros, remove the encryption or permission restriction on the file

There is no option to enable macros however after reading this it seems like there is something wrong with his antivirus software so have requested our help desk to look at this...i'll let you know the outcome!
 
Upvote 0

Forum statistics

Threads
1,214,929
Messages
6,122,315
Members
449,081
Latest member
tanurai

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top