+ Reply to Thread
Results 1 to 8 of 8

Active content error allowing unauthorised access to sheets

  1. #1
    Forum Contributor
    Join Date
    01-21-2017
    Location
    England
    MS-Off Ver
    2007
    Posts
    409

    Active content error allowing unauthorised access to sheets

    Hi I've set up my document to always load up a certain sheet and then the user has to enable macro's and enter a password to access any of the other sheets. However for some reason I sometime get "Some active content has been disabled" which allows the user to go on any sheet without having to put any password in??

    Is there anyway to stop this?

    Cheers
    Last edited by Throughstream; 07-13-2019 at 02:08 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: Active content

    Can you please share a sample workbook displaying the problem?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    01-21-2017
    Location
    England
    MS-Off Ver
    2007
    Posts
    409

    Re: Active content

    Hi hmmm not easily as it contains sensitive information. I could give you the coding from “thisWorkbook” if that helps?

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: Active content

    That would be a start, however might not be enough. Can you produce a desensitised copy and share that?

    Is the workbook being saved as .xlsx at any point instead of .xlsm?

    Are you really still using Excel 2007?

  5. #5
    Forum Contributor
    Join Date
    01-21-2017
    Location
    England
    MS-Off Ver
    2007
    Posts
    409

    Re: Active content

    Hi sorry I know it would make it easier but I wouldn't feel comfortable even producing a desensitised copy unless it was a last resort.

    Please Login or Register  to view this content.
    Haha well I use 2007 at home and 2010 at work.

    The work book is saved as both a .xlsm and a .xlsx at the same time in two locations however it was doing the "active content error" before I started saving it as a .xlsx as well.

    Could it just be that the admin's at my work have made it so that it automatically disabled active content?
    Last edited by AliGW; 07-13-2019 at 01:51 AM. Reason: Code tags corrected.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: Active content

    I think the admins at work need speaking to first - you need to eliminate that before trying to troubleshoot any further.

    By the way, your thread title is a bit vague - can you please make it a bit more detailed? Thanks.

  7. #7
    Forum Contributor
    Join Date
    01-21-2017
    Location
    England
    MS-Off Ver
    2007
    Posts
    409

    Re: Active content

    No problem, is there any way to make it so the document doesn’t open any sheets or only opens a specific sheet unless active content is enabled?

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: Active content error allowing unauthorised access to sheets

    In answer to your latest question - possibly. Make that part of your improved thread title. You'll have to wait for a VBA expert. Most people aren't up at this time on a Saturday!

    EDIT: Title MUCH better - thanks.

+ 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. Find active row and clear content in that row
    By a94andwi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-22-2018, 10:26 AM
  2. [SOLVED] Active Content Disabled, shuts down excel when enabled
    By kriminaal in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-10-2018, 02:40 PM
  3. Active Content warning when ActiveWorkbook.FollowHyperlink is executed
    By JimDandy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-05-2017, 03:58 PM
  4. [SOLVED] BUG: formulas replaced by values when active content is enabled
    By mg.luis in forum Excel General
    Replies: 1
    Last Post: 12-18-2015, 11:56 AM
  5. Getting rid of active content in a file
    By Brian Drozd in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-22-2014, 05:27 PM
  6. [SOLVED] How to put content of active cell in variable?
    By obgle in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-20-2012, 02:08 PM
  7. Return to active sheet-cell content copy
    By nigelog in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-09-2008, 11:26 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