+ Reply to Thread
Results 1 to 2 of 2

Protect Project Causes Error

  1. #1
    Registered User
    Join Date
    10-08-2006
    Posts
    68

    Smile Protect Project Causes Error

    Hello,
    I've been protecting my workbook so that only certian cells can be used by the user and when they hit enter it will automatically bring them down the the next cell so they can enter info there. The only problem is that I have a refresh button that I made with macros and when i protect the information i'm getting an error saying
    Run-time error "1004"
    Unable to set the colorindex of the font class
    Can anyone help me fix this?
    Thanks
    Nate

  2. #2
    Forum Contributor
    Join Date
    01-24-2007
    Location
    Southampton, UK
    Posts
    137
    You probably need your macro code to be nested between Activesheet.Unprotect and Activesheet.Protect statements so that the code can amend any cells.

    When a sheet is protected, even access to some of the formatting attributes of unprotected cells is still restricted for the user and macros.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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