Consulting

Results 1 to 3 of 3

Thread: Excel 2010 Macro Security

  1. #1

    Excel 2010 Macro Security

    For Excel 2010, I have macros set to "disable all macros with notification".

    The first time I start a file, I get the notification and allow the macro. However, upon closing Excel and reloading the same file, the notification does not come up and the macro is automatically enabled. If I change the filename and reload, then the notification comes up.

    Is this the expected behavior? It seems pretty unsecure. For example, if someone emailed me a legitimate file, I could adjust it and when they read it back on their end the macros would automatically be enabled. Maybe the confirmation on the Excel end is that the file size and date must be exactly the same too, before automatically allowing macros to be enabled?

  2. #2
    VBAX Guru mancubus's Avatar
    Joined
    Dec 2010
    Location
    "Where I lay my head is home" :D
    Posts
    2,645
    google it.

    for example see title "How to Run a Macro Even if Running Macros is disabled" at http://www.exceltrick.com/how_to/ena...cros-in-excel/
    PLS DO NOT PM; OPEN A THREAD INSTEAD!!!

    1) Posting Code
    [CODE]PasteYourCodeHere[/CODE]
    (or paste your code, select it, click # button)

    2) Uploading File(s)
    Go Advanced / Attachments - Manage Attachments / Add Files / Select Files / Select the file(s) (multiple files can be selected while holding Ctrl key) / Upload Files / Done
    Replace company specific / sensitive / confidential data. Include so many rows and sheets etc in the uploaded workbook to enable the helpers visualize the data and table structure. Helpers do not need the entire workbook.

    3) Testing the Codes
    always back up your files before testing the codes.

    4) Marking the Thread as Solved
    from Thread Tools (on the top right corner, above the first message)

  3. #3
    That isn't what I am talking about though. In fact, it is contradictory to what I experienced.

    In this case, it would be "2. Disable all macros with notification: In this settings the macros are disabled but still each time when you open an excel sheet with a macro it will ask you if you want to run the macro or not."

    The file I am referring to is not in a trusted location. Yet, it will automatically activate macros even when "disable all macros with notification" is selected.

    FYI, I also tried disabling all trusted locations (just to be sure) and the file still opens with macros enabled (contradictory to the user request to ask for notification). So something isn't quite adding up to me.

Posting Permissions

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