+ Reply to Thread
Results 1 to 2 of 2

Macro Code to Encrypt Multiple Excel Files in Folders and Subfolders

  1. #1
    Registered User
    Join Date
    01-04-2014
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    1

    Macro Code to Encrypt Multiple Excel Files in Folders and Subfolders

    Hello Guyz,
    I need a help from those who are good at macro codes. Recently i decided to protect the excel files in my office. But its a tedious task to individually add password protection to the 1000's of excel files located in different folders and sub folders. There i started to search for suitable macro codes. And my search ended in getting a code similar to what i need. But i need to modify this code to suit it for my purpose.
    What I require :-
    1. The code should encrypt the files. The current code i recieved will only protect the files from editing. For me, files should not be viewed by anyone else with out entering the password. I want to encrypt the files
    2. I want the macro code to search for excel files in folders and Subfolders. The current code only protect those files in the folder i selected.

    So can anyone modify the following code to meet my purpose. It will be a great for me.


    The code given below will :-
    Prompt you to select a folder
    Prompt you to select PROTECT or UNPROTECT action on the files in that folder
    Prompt you to enter a password to use
    Process all the files in that folder with options above
    Give a count afterward of how many files were affected




    Please Login or Register  to view this content.
    Last edited by JBeaucaire; 01-04-2014 at 08:08 PM. Reason: added missing CODE tags, please read the Forum Rules, link in the menu bar above. Thanks.

  2. #2
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Macro Code to Encrypt Multiple Excel Files in Folders and Subfolders

    For a slightly different approach take a look at Open-Source TrueCrypttm or one of the many competing products. You have to enter a password before you can access any of your encrypted data. See http://www.truecrypt.org/

    I do volunteer work preparing Tax Returns for Senior Citizens through AARP Tax Aide. AARP Tax Aide has used TrueCrypt to store encrypted data on their computers for several years with IRS approval. No NSA jokes please.

    Lewis

+ 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] Files within Multiple SubFolders and SubFolders Within It
    By codeslizer in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-18-2013, 04:18 AM
  2. [SOLVED] VBA code to add folders and subfolders
    By rhlittau in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-25-2013, 06:57 PM
  3. Macro to list folders and contents within it Including subfolders.
    By pekunda in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-12-2012, 08:17 AM
  4. Dir folders and subfolders macro writes over it self
    By Pero in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-15-2009, 02:46 PM
  5. [SOLVED] Map/List of folders, subfolders & files
    By Bogdan in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-11-2006, 01:10 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