Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 96
Default change password

Hi

i have coded a spreadsheet and locked the vba properties.

The spreadsheet has 2 textboxes which are unlocked by a
button followed by the user entering their name and
password on a form.

Is there anyway I can by means of a userform, allow the
user to change his/her password without me having to go
into the code and change it there?

Many thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 550
Default change password

Libby,

Changing the password in the hard coded VBA can be done
but it would probably be a nightmare to do it.
If you really want to go that route, here's a start:
http://j-walk.com/ss/excel/tips/tip61.htm

What might be easier is to save the ID's and passwords
on a VeryHidden sheet and then you could write code
to allow the user to change it.

I have an example of a workbook (it's actually two) where
only the ID's and passwords are saved in one and the
other one (main workbook) checks for the correct ID's
and passwords when you try to open it.
I use this method for "attempting" to protect multiple
workbooks and not having to change each and every one
of them when an ID or password needs to be changed.
If you send me a direct e-mail, I'll forward you those
workbooks.

John

"Libby" wrote in message
...
Hi

i have coded a spreadsheet and locked the vba properties.

The spreadsheet has 2 textboxes which are unlocked by a
button followed by the user entering their name and
password on a form.

Is there anyway I can by means of a userform, allow the
user to change his/her password without me having to go
into the code and change it there?

Many thanks



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
change Excel password chequer Excel Discussion (Misc queries) 6 May 11th 09 03:53 PM
EXCEL CHANGE PASSWORD Mike Christie Excel Discussion (Misc queries) 2 December 14th 06 05:16 PM
how do i change my excel password? JJ Excel Discussion (Misc queries) 1 October 25th 06 02:17 PM
change workbook password neeraj Excel Discussion (Misc queries) 1 September 20th 05 06:18 PM
Change password Anthony G of La Quinta Excel Discussion (Misc queries) 1 June 21st 05 12:58 AM


All times are GMT +1. The time now is 04:26 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"