Results 1 to 3 of 3

Macro doesnt work when the sheet is protected

Threaded View

  1. #1
    Registered User
    Join Date
    05-13-2010
    Location
    Ireland
    MS-Off Ver
    Excel 2007
    Posts
    90

    Macro doesnt work when the sheet is protected

    I have this very simple macro that clears some cells when i press "clear" button.

    Although when i protect the sheet it doesnt work.

    Is there a way to avoid this?

    Below the code
    Sub Clear()
    '
    ' Clear Macro
    ' Clear
    '
    '
    '
        Range("E6:G11").Select
        Selection.ClearContents
        Range("E6").Select
    End Sub
    
    Private Sub ComboBox1_Change()
    
    End Sub
    Thanks
    Last edited by tsioumiou; 10-24-2011 at 10:25 AM.

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