+ Reply to Thread
Results 1 to 16 of 16

Macro stopped working

  1. #1
    Registered User
    Join Date
    10-21-2013
    Location
    Philadelphia, PA
    MS-Off Ver
    Excel 2007
    Posts
    14

    Macro stopped working

    Last week, I successfully got a macro working that queried Yahoo Finance security prices from the internet and then manipulated the prices to form a desired report on my holdings. This week, the macro won't work even though nothing changed. I think it's got something to do with the security levle assigned to the macro because it works on my home computer but not my work computer.

    Can someone tell me how to set a macro enabled spreadsheet so that it work on any computer?

  2. #2
    Registered User
    Join Date
    10-21-2013
    Location
    Philadelphia, PA
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Macro stopped working

    Oh, additional information... when I first open my macro enabled file, I get a message at the top of the screen "Security Warning Macros have been disabled". When I open the file at home, I have the option of clicking on a button that says "enable macros". When I open the file at work, my only option is "Help protect me from unknown content (recommended)

    I hope this additional information provides more insight into my problem.

  3. #3
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Macro stopped working

    Macros may have be disabled by your IT dept.

  4. #4
    Registered User
    Join Date
    10-21-2013
    Location
    Philadelphia, PA
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Macro stopped working

    But I got it working perfectly on Friday.

  5. #5
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Macro stopped working

    Did you check the trust centre for macro set-up?

  6. #6
    Registered User
    Join Date
    10-21-2013
    Location
    Philadelphia, PA
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Macro stopped working

    When I go to the Trust Center, I have the following set:

    Macro Settings: - "Disable all macros with notification"
    Developer Macro Settings: - "Trust access to the VBA project object model" is checked

    My main problem continues to be the fact that when I initially open the file, my only option is "Security Warning Macros have been disabled". I do not have an option to "Enable content"
    I also have a problem exiting Developer Mode after going into that mode. When I attempt to exit, I get a message, "The macros in this project are disabled. Please refer to the online help or documentation of the host application to determine how to enable macros."

  7. #7
    Registered User
    Join Date
    10-21-2013
    Location
    Philadelphia, PA
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Macro stopped working

    Okay, now when I go look under Visual Basic, my macros have disappeared!! What's going on??

  8. #8
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Macro stopped working

    Check the trust centre then message bar and check which option is ticked/unticked.

  9. #9
    Registered User
    Join Date
    10-21-2013
    Location
    Philadelphia, PA
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Macro stopped working

    I have checked the following: "Show the Message Bar in all applications when content has been blocked"

  10. #10
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Macro stopped working

    I suspect one of your setting have changed.
    How about File block settings?

  11. #11
    Registered User
    Join Date
    10-21-2013
    Location
    Philadelphia, PA
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Macro stopped working

    what is file block setting?

  12. #12
    Registered User
    Join Date
    10-21-2013
    Location
    Philadelphia, PA
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Macro stopped working

    BTW, I have already attempted to run this file from a trusted location.

  13. #13
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Macro stopped working

    After you click the trust centre, there are a number of options, one of them is File block. If you go through each and check which of the settings have changed, if all were workings fine until Last Friday.

  14. #14
    Registered User
    Join Date
    10-21-2013
    Location
    Philadelphia, PA
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Macro stopped working

    In the Trust Center, my options are as follows:

    Trusted Publisher
    Trusted Locations
    Add-ins
    Macro Settings
    Message Bar
    External Content
    Privacy Options

    NO File Block

  15. #15
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Macro stopped working

    It may not be in 2007. I am running 2010.
    The point is if all was fine until Friday, I can only think that one of these have changed.
    I have noticed the following on my settings. Some of the files I download from this site have some private blocking message and a result some of my settings do change. For e.g. The auto calculation changes in to Manual. I only notice this change when my calculation is not workings, so something has changed in your settings.

  16. #16
    Registered User
    Join Date
    10-21-2013
    Location
    Philadelphia, PA
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Macro stopped working

    Okay. I'm going to go home and make note of my settings at home and compare them to what I have at work.

    Even if I can't resolve this problem, I am deeply appreciative for your help!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. 'Consolidate' Macro stopped working
    By talksalot81 in forum Excel General
    Replies: 1
    Last Post: 09-05-2013, 09:31 AM
  2. Macro Stopped Working
    By andybason in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-11-2012, 01:20 PM
  3. Macro stopped working.
    By joleen in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 06-06-2011, 05:37 AM
  4. Excel 2007 : Macro stopped working
    By jaw0001 in forum Excel General
    Replies: 5
    Last Post: 10-13-2010, 07:59 AM
  5. Excel 2007 : Macro Code Stopped Working
    By stevo_300 in forum Excel General
    Replies: 5
    Last Post: 04-06-2010, 07:57 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1