+ Reply to Thread
Results 1 to 5 of 5

Run Macro with advanced filter on protected sheet

  1. #1
    Registered User
    Join Date
    04-12-2019
    Location
    Groningen, the netherlands
    MS-Off Ver
    2016
    Posts
    5

    Run Macro with advanced filter on protected sheet

    Hello,

    I'm having problems with running an advanced filter macro on a sheet which is protected with a password.

    I found a solution, where I need to put Unprotect and Protect within the Macro. However, I don't know the password and due to company policy that I will not get the password to put it in the Macro. Is there anyway to get the macro to work?

  2. #2
    Forum Contributor
    Join Date
    01-02-2020
    Location
    Idaho, USA
    MS-Off Ver
    365
    Posts
    273

    Re: Run Macro with advanced filter on protected sheet

    Sorry, but not without the password.

  3. #3
    Forum Contributor
    Join Date
    01-02-2020
    Location
    Idaho, USA
    MS-Off Ver
    365
    Posts
    273

    Re: Run Macro with advanced filter on protected sheet

    Why would your company want you to edit or run a macro on a sheet that they won't give you the password for?

  4. #4
    Registered User
    Join Date
    04-12-2019
    Location
    Groningen, the netherlands
    MS-Off Ver
    2016
    Posts
    5

    Re: Run Macro with advanced filter on protected sheet

    The sheet is protected by password so people cannot (accidently or on purpose) change formulas. Because of conflict of interest I cannot have the password, we use the macro to filter data from an output of a machine

  5. #5
    Forum Contributor
    Join Date
    01-02-2020
    Location
    Idaho, USA
    MS-Off Ver
    365
    Posts
    273

    Re: Run Macro with advanced filter on protected sheet

    Ok... I'm sorry to inform you though, that you won't be able to do it without the password, even with a macro. The only moral solution, and it might be a long shot, would be to have someone who knows the password, unprotect the sheet, then when protecting it again, set the options so that the users are allowed to change whatever your macro is trying to change, then it will probably work.

+ 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. [SOLVED] Help with macro to copy all files to master sheet AND advanced filter
    By maym in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-31-2018, 10:53 PM
  2. Replies: 5
    Last Post: 12-19-2013, 06:58 AM
  3. advanced filter - button to re apply advanced filter across multiple sheets
    By motmac87 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-05-2013, 11:16 PM
  4. Trigger "advanced filter" macro from a different sheet
    By nholtappels in forum Excel General
    Replies: 1
    Last Post: 12-22-2011, 09:24 AM
  5. Trigger "advanced filter" macro from a different sheet
    By nholtappels in forum Excel General
    Replies: 1
    Last Post: 12-22-2011, 09:01 AM
  6. [SOLVED] Advanced Filter vs. Macro for deleting dup rows in sheet
    By Kermit Piper in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-18-2006, 06:10 AM
  7. Advanced Filter on Protected Sheets?
    By documike in forum Excel General
    Replies: 1
    Last Post: 01-02-2005, 05:06 PM

Tags for this Thread

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