+ Reply to Thread
Results 1 to 6 of 6

Password Protect Being Able To Save

  1. #1
    Registered User
    Join Date
    08-05-2014
    Location
    tamp, florida
    MS-Off Ver
    MS Office 2010
    Posts
    3

    Password Protect Being Able To Save

    I am trying to create a way that I can password protect my file from being able to be saved but I am not sure how.

  2. #2
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Password Protect Being Able To Save

    try this, hope it helps you!
    Please Login or Register  to view this content.
    Regards, John55
    If you have issues with Code I've provided, I appreciate your feedback.
    In the event Code provided resolves your issue, please mark your Thread as SOLVED.
    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

    ...enjoy -funny parrots-

  3. #3
    Registered User
    Join Date
    08-05-2014
    Location
    tamp, florida
    MS-Off Ver
    MS Office 2010
    Posts
    3

    Re: Password Protect Being Able To Save

    When I placed that code in my VBA it returned the error "Compile Error: Expected End Sub"

  4. #4
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Password Protect Being Able To Save

    perhaps the "End Sub" is missing, also add:
    Please Login or Register  to view this content.
    and

    Please Login or Register  to view this content.

  5. #5
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Password Protect Being Able To Save

    perhaps the "End Sub" is missing, also add:
    Please Login or Register  to view this content.
    and

    Please Login or Register  to view this content.

  6. #6
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Password Protect Being Able To Save

    see the test file attached
    Attached Files Attached Files

+ 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/Un-protect multiple sheets with password using VBA
    By Max_excel in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-22-2013, 02:59 AM
  2. Replies: 2
    Last Post: 01-17-2013, 08:39 AM
  3. How to protect formula & macro protect without password ?
    By nur2544 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-26-2012, 05:24 AM
  4. VBA to Unprotect (w/ password), Unhide, Hide, and Protect (w/ password)
    By pger34 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-14-2012, 12:35 PM
  5. Replies: 2
    Last Post: 07-16-2005, 11: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