+ Reply to Thread
Results 1 to 2 of 2

protect work sheet without affecting VBA

  1. #1
    Registered User
    Join Date
    03-03-2012
    Location
    Qatar
    MS-Off Ver
    Excel 2007
    Posts
    25

    protect work sheet without affecting VBA

    Hi

    Is there any way to protect worksheet in excel 2007 without affecting the functioning of VBA?

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: protect work sheet without affecting VBA

    Protect the sheet via code by enabling the UserInterfaceOnly:= True

    But this setting will get lost when the workbook is restarted. So add the code in the Workbook Open event also.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

+ 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. Protect worksheet without affecting Macro functionality
    By maff in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-19-2013, 05:54 AM
  2. Am I able to protect my work sheet and keep my grouping function?
    By Djana in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-30-2006, 08:50 PM
  3. [SOLVED] Excel Work Sheet Protect
    By Kev in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-24-2006, 10:40 AM
  4. How to protect sheet but allow grouping to work
    By dwsmha in forum Excel Formulas & Functions
    Replies: 22
    Last Post: 09-06-2005, 09:05 PM
  5. Protect work sheet
    By Lee in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 04-23-2005, 10: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