+ Reply to Thread
Results 1 to 4 of 4

Unable to search for content in hidden protected sheet

  1. #1
    Registered User
    Join Date
    09-26-2007
    Posts
    32

    Unable to search for content in hidden protected sheet

    I have attached a file which I received help with previously, however I want to take it further.

    So the file contains friends and enemy clans of a game I play. The file is to enable players to search for friendly and enemy clans.

    That was working fine, but then I protected and hid the clan sheet (called clans) to prevent others editing it. I then got a 400 error. I did a bit of googling and stepped through the code and it appears to be related to the protection. I have tried adding code to over come it, but have got myself a bit confused and unable to get it to work.

    Would some kind person help me out please?

    Note there are two subs one for friend one for enemy. If you look at the clans sheet you will see green and red and what you can use to search to check.

    The password for the sheet is Wiggleisboss

    Thank you.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Unable to search for content in hidden protected sheet

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Registered User
    Join Date
    09-26-2007
    Posts
    32

    Re: Unable to search for content in hidden protected sheet

    Awesome thanks.

  4. #4
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Unable to search for content in hidden protected sheet

    You're welcome.

    You could shorten it all down to this...

    Please Login or Register  to view this content.

+ 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. Protected sheet has cells mysteriously changing to be hidden
    By Bert Uschold in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-10-2015, 06:37 PM
  2. Unable to use data validation in protected sheet
    By vimal768 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-08-2014, 06:16 AM
  3. Unable to sort with protected sheet
    By milt2010 in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 12-30-2013, 02:45 PM
  4. protected sheet Vs column hidden
    By tomluigi in forum Excel General
    Replies: 8
    Last Post: 01-01-2013, 08:20 AM
  5. Unable to use Group/Outline in a protected sheet?
    By ynot2010 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-03-2012, 02:27 AM
  6. Replies: 2
    Last Post: 06-06-2006, 11:20 AM
  7. Unable to open excel sheet in Protected mode from VB 6.0
    By ourspt in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-26-2005, 06:59 AM

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