+ Reply to Thread
Results 1 to 6 of 6

Modify VBA to Current Sheet (not all sheets)

  1. #1
    Forum Contributor
    Join Date
    06-02-2014
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    235

    Modify VBA to Current Sheet (not all sheets)

    Hello,

    can someone help me modify this code to old protect the current sheet? I need the ability to set a new password like the current version below. Thank you so much in advance!

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Modify VBA to Current Sheet (not all sheets)

    Try this code
    Please Login or Register  to view this content.
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

  3. #3
    Forum Contributor
    Join Date
    06-02-2014
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    235

    Re: Modify VBA to Current Sheet (not all sheets)

    This worked perfectly! Sorry for my lack of knowledge I'm trying to now make it unlock as well. So this one just to unlock the current sheet

    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    06-02-2014
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    235

    Re: Modify VBA to Current Sheet (not all sheets)

    I figured it out, here is the code

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    06-02-2014
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    235

    Re: Modify VBA to Current Sheet (not all sheets)

    Thanks again!!

  6. #6
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Modify VBA to Current Sheet (not all sheets)

    You're welcome. Glad it worked for you

+ 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. Macro only runs on current sheet, not the sheets I defined
    By sb212410 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-17-2017, 02:13 PM
  2. [SOLVED] Need to modify VBA Code that copies multiple sheets to a master sheet
    By AXGirl in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-02-2014, 04:37 PM
  3. Compare cell from two sheets, copy entire row to current sheet
    By nguerra in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-09-2014, 02:00 AM
  4. [SOLVED] Sumif Based on a Value in the Current Sheet from Multiple Sheets
    By prkhan56 in forum Excel General
    Replies: 13
    Last Post: 04-21-2012, 01:20 PM
  5. How to apply current sheet headers/footers to all other sheets?
    By ericsastud in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-11-2011, 04:51 PM
  6. Refering to sheets positioned after current sheet
    By davegugg in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-08-2010, 03:12 PM

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