Results 1 to 16 of 16

Protected Sheet Will Not Allow Macro To Run

Threaded View

  1. #1
    Registered User
    Join Date
    03-16-2009
    Location
    California, USA
    MS-Off Ver
    Excel 2003
    Posts
    98

    Protected Sheet Will Not Allow Macro To Run

    I have protected several sheets in my workbook to protect the forumlas and data for being tempered with by the users.

    When I try to run my macro, I get an error message stating:

    Runtime '1004'
    You can not use this command on a protected sheet

    And the debug is pointing to this part of my code

    Do Until pr > .Cells(1, 1).SpecialCells(xlLastCell).Row
    How can I revise my code to allow me to have my sheets stay protected and still be able to run my macro?
    Last edited by NaNaBoo; 03-27-2009 at 03:48 PM.

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