MrExcel Message Board


Go Back   MrExcel Message Board > Question Forums > Excel Questions

Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only.

Reply
 
Thread Tools Display Modes
Old Mar 18th, 2002, 09:18 AM   #1
Craig AS
 
Join Date: Mar 2002
Posts: 26
Default


I have been working on a password entry system, But i need it to use a number of diffrent valid password, which can change every time another user signs up. I currently have this:

If strPass = "password" Then
MsgBox "Log in OK!"
Run "signin"

But there is only one valid password available, i have tried adding extra passwords using comas, but nothing i've tried has worked. Plus i need the system to update all valid passwords 4 each time some1 signs up. All passwords are stored in colum I2 onwards. I have been working on this 4 ages. Please help, even itf its a little help, any thing will be appreciated thanks,

Craig
Craig AS is offline   Reply With Quote
Old Mar 18th, 2002, 09:33 AM   #2
canablitz
 
Join Date: Mar 2002
Posts: 19
Default

well, craig, i know exactly what your problem is. what you need is a system to log all passwords and the usernames, and then record that as a macro. but as everyone hates you, no-one is gonna do it for you, HA HA BILLY!!!! go find some friends you lonely pOO!!!
canablitz is offline   Reply With Quote
Old Mar 18th, 2002, 11:08 AM   #3
Craig AS
 
Join Date: Mar 2002
Posts: 26
Default

please? no1 has any help?
Craig AS is offline   Reply With Quote
Old Mar 18th, 2002, 02:08 PM   #4
KniteMare
 
Join Date: Mar 2002
Location: Hilo, Hawaii
Posts: 240
Default

Your "PassWord" needs to be a variable.
Then you need to ID the user. you could get this info from a msgbox: then compare the info recieved to a list using a loop through the range of User Names on a veryhidden sheet. You could then use OffSet to place a password in the cell next to the user name (Have them do it twice to confirm).(Write this in a new user valadation routine so that you can regulate who gets a password.)

Once they have a password and you've moved it to the list: Then your code would ask for username: if it exists it would ask for password: and compare this to the infor next to the user name and allow the user to proceed.. if not it would deny access. You can even set it up for say,,,Three tries and Excel will quit.

I can write this but it would be time consumming, and you would not have the oportunity to enjoy the learning experiance

I hope this jumpstarts you.

Use the help files in the VBE they are extensive and with patience you should be able to figure it out.

Yours in
EXCELent Frustration
KniteMare
KniteMare is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT +1. The time now is 09:50 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
All contents Copyright 1998-2009 by MrExcel Consulting.
diabetic desserts recipes recipes Diabetic Soups Holiday Pizza Recipes Popcorn Recipes Recipes For Microwave Pasta Recipes Casserole Recipes Chili Recipes Curry Recipes Crockpot Recipes Apples Recipes Bread Recipes Vegetarian Recipes Vegetable recipes Desserts Recipes Appetizers Ethnic Recipes Meat Dishes Barbecue Recipes Sauces Recipes Marinade Recipes Low Fat Recipes Frugal Gourmet Kitchen Classics Recipes On The Grill Cook Books Seafood Recipes Cajun Recipes Breads Low Fat Low Fat Breads Bread Machine Recipes Yeast Breads Quick Breads Fat Free Vegetarian Salad Recipes Eggplant Recipes Radish Recipes Tomato Recipes Jalapeno Recipes Potato Recipes Lettuce Recipes Cabbage Recipes Beans Ambrosia Recipes Biscotti Recipes Desserts Low Fat Cookie Recipes Cheesecake Recipes Cake Recipes Pie Recipes Muffin Recipes Custard Recipes Best Appetizers Appetizers Low Fat Salsa Recipes Dip Recipes International Recipes Afghan Recipes Alaska Recipes French Recipes German Recipes Greek Recipes Italian Recipes Spanish Recipes Thai Recipes Korean Recipes Chinese Recipes Mexican Recipes Indian Recipes Beef Recipes Pork Pork & Ham Pork Butts Pork Chop Recipes Pork Ribs Rulled Pork Poultry Recipes Stews Recipes Ground Beef Barbecue Grill Barbecue Smoker All Purpose Sauce BBQ Sauce Barbecue Sauce Carolina BBQ Sauce Pickle Recipes Marinades Smoking Low Fat Appetizers & Dips Low Fat Breakfast Low Fat Cakes Low Fat Cheesecakes Low Fat Cookies Low Fat Desserts Low Fat Fish & Seafood Low Fat Meats Low Fat Pasta Low Fat Pies Low Fat Salads Low Fat Sandwiches Low Fat Sauces & Condiments Low Fat Sides Low Fat Soups Low Fat Vegetarian Baker's Dozen Taste of Home Recipe Book Bon Appetit Cookbook Blacktie Cookbook Buster Cook Book Cookbook USA Cook Book Cook Book Sara's Cookbook Sara's Cookbook Appetizers and Dips Poultry recipes Diabetic recipes Holiday recipes Miscellaneous recipes 110 recipes 1986 Usenet cookbook 2900 recipes Cyberrealm recipes Great sysops of world Specialty recipes Ceideburg recipes Cheese recipes Chili recipes Fruits recipes Garlic recipes Great chefs of NY Londontowne recipes Raisins recipes Recipes for kids US Food Vegetarian recipes Bread recipes Drinks Meat Dishes Brisket recipes Caribou recipes Chicken recipes Filet mignons recipes Pork recipes Swordfish recipes Turkey recipes Pasta recipes Uncategorized recipes Ethnic recipes Canada recipes English recipes Ethiopia recipes Germany recipes Greece recipes Mexican recipes Philippines recipes Welsh recipes Microwave recipes Soups recipes Vegetable recipes Asparagus recipes Barley recipes Brown rice recipes Lentil recipes Mushrooms recipes Salads recipes Wild rice Desserts recipes Cakes recipes Chocolate recipes Cookies recipes Ice cream recipes