Solved

how to give your VBA code password that you record in "thisworkbook"

Posted on 2016-11-04
2
30 Views
Last Modified: 2016-11-04
Hello experts,

How can I give password to my vba code saved in "thisworkbook" so that the users cannot see inside my code where I have set a password for one of my worksheets.

It is a follow up question on a previous question:

https://www.experts-exchange.com/questions/28979577/How-can-I-set-password-for-a-sheet-in-excel.html?anchor=a41864063¬ificationFollowed=178318599#a41864063

Thank you.
0
Comment
Question by:tony01excel tony
2 Comments
 
LVL 49

Accepted Solution

by:
Rgonzo1971 earned 500 total points
ID: 41874043
Hi,.

Go to the VBE
Tools / VBAProject Properties / Protextion
Tick Lock Project for viewing and enter your PW twice

Save Close and reopen it

Regards
0
 

Author Closing Comment

by:tony01excel tony
ID: 41874097
Great, thank you so much!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
Viewers will learn the basics of slicers and timelines for both PivotTables and standard Excel tables in Excel 2013.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now