Joined: 31 Oct 2007
Location: mumbai India
|Posted: Sat Nov 17, 2007 3:29 am Post subject: Val of globally declard variable is lost after closing file
|I have created a password dialog box.it also facilitates the user to change the password .for tat he have to enter old password ,if correct, then then new password, then confirm new password and then the password is set .for this total 4 dialog box are created and called from one another. the common variable between password is declared global.
since the dialog takes the password from the user , so the value of global variable is not declared any where in the macro.
every thing works fine.ie;it takes new password,sets it,then on request changes it.
but once the file is closed the value of global variable is lost.then once again new value of the password needs to be entered .it dosent take the previously set value.
so is there any option tat the value can be regaind
any other option of taking the password from the user and reusing it is also welcomed