How can I validate my Excel password against a INI file

  • Thread starter Thread starter Andrea
  • Start date Start date
Hi Andrea,
What are you trying to accomplish?

I assume you want to check a users name and password against a list in a .ini file?
I don't think you can once Excel is running. Unless you are writing your own password progie.

A prompt for a password using Excel's native routine invokes an event controlled by Excel.
You can't run a sub or macro while Excel is waiting for the password.
Only one routine can be run at a time.

Otherwise password crackers would have a simple task to defeat Excel.

FYI: sticky notes on the monitor is the most insecure place to keep passwords. An .ini file is the second most insecure.
It's a text file.

John
 
Back
Top