+ Reply to Thread
Results 1 to 2 of 2

VBA code for Protecting all Worksheet

  1. #1
    Forum Contributor
    Join Date
    02-13-2016
    Location
    MUMBAI
    MS-Off Ver
    Microsoft 365
    Posts
    180

    Post VBA code for Protecting all Worksheet

    The below code doesn't work. Kindly someone help me to rectify my below VBA code.

    Please Login or Register  to view this content.

  2. #2
    Registered User
    Join Date
    02-09-2014
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    60

    Re: VBA code for Protecting all Worksheet

    Hi Vivek,

    The code is working fine on my system. What error message you are getting while running the code?

    Please check if you have included all the libraries (Go to VBE->Tools -> References->Check Visual Basic for Applications, OLE Automation and Microsoft Office 15.0 Object Library). Close the application, open it again and run your code. Hope this will work.

+ 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. [SOLVED] VBA code for protecting Worksheet leaves sheet unprotected if applied twice
    By bdouglas1011 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-03-2014, 07:28 PM
  2. Replies: 10
    Last Post: 04-18-2012, 10:33 AM
  3. Protecting Code
    By Ralem in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-23-2010, 05:14 PM
  4. Protecting VBA code
    By Nigel_hough in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-01-2007, 11:17 AM
  5. Protecting my Code
    By iancallaghan87 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-24-2007, 01:00 PM
  6. Protecting VBA code
    By dstiefe in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-20-2005, 04:05 PM
  7. Protecting vba code better
    By Avi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-06-2005, 08:05 AM

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