Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
it is possible to crate a password to run macro mean when i click command button to run a macro to ask password for run which restricted other person to use macro |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Well, just use a simple InputBox, and don't forget to hide/protect your
VBA-code. Be aware, however, that any determined intermediate user with no problem can crack any Excel-code within 5 minutes... CE Den 09.02.2012 17:55, kalpesh skrev: Hello, it is possible to crate a password to run macro mean when i click command button to run a macro to ask password for run which restricted other person to use macro |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Charlotte E. submitted this idea :
Be aware, however, that any determined intermediate user with no problem can crack any Excel-code within 5 minutes... Actually, it takes less than 1 minute to clear a file of all passwords, including open password, wkb/wks protection, and VBA project. -- Garry Free usenet access at http://www.eternal-september.org ClassicVB Users Regroup! comp.lang.basic.visual.misc |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub test()
pword = InputBox("Enter the password") If pword < "drowssap" Then GoTo oops MsgBox "you got it right" 'your code goes here Exit Sub oops: MsgBox "try again" End Sub Make sure you add VBA protection so's users cannot see code. In the VBE right-click on the workbook/project and PropertiesProtectionLock for Viewing and password it with some other password..........DO NOT forget it. Save, close and re-open before locking takes place. Gord On Thu, 09 Feb 2012 10:55:23 -0600, kalpesh wrote: Hello, it is possible to crate a password to run macro mean when i click command button to run a macro to ask password for run which restricted other person to use macro |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Password protection in macro ( Anybody can view my password in VB | Excel Discussion (Misc queries) | |||
PASSWORD REMOVAL I have the password to open the file and the password to modify the file now how to remove them | Excel Programming | |||
How to see macro code of a password protected macro without a password? | Excel Worksheet Functions | |||
How to see macro code of a password protected macro without a password? | Excel Programming | |||
macro password | Excel Programming |