Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
Lista Forumurilor Pe Tematici
Mrrrr's Forum (VIEW ONLY) | Reguli | Inregistrare | Login

POZE MRRRR'S FORUM (VIEW ONLY)

Nu sunteti logat.
Nou pe simpatie:
Jasmmyne la Simpatie.ro
Femeie
22 ani
Bucuresti
cauta Barbat
22 - 34 ani
Mrrrr's Forum (VIEW ONLY) / Tutoriale si Ghiduri Utile // Tutorials and useful guides / [EXCEL] Protect Your VBA Code with a Password [VBA] Moderat de TRaP, TonyTzu
Autor
Mesaj Pagini: 1
Mrrrr
AdMiN

Inregistrat: acum 17 ani
Postari: 2186
You are in Visual Basic (ALT+F11 from Excel).

1. Right click on the Modules folder and select VBAProject Properties
2. Select the Protection tab.
3. Check "Lock project for viewing"
4. Add Password and Confirm password
5. Click OK
6. Save your file and close VB and excel
7. Open the excel file then VB (ALT+F11)
8. Try to view the code for your file. You can't.

You won't be able to see any of the sheets either without the password. So if you have code in your sheets, it will be protected too.

Will you be able to run the vba codes? Sure!

1. Close VB and in Excel press ALT+F8
2. Run the code. It works.


_______________________________________


pus acum 5 ani
   
Pagini: 1  

Mergi la