Im using a 'Users' userform which loads when the workbook opens, for users to login with a username and password. Im having problems with the code to create a new user (entering the username and password data into the sheet), and deleting users (finding the username in the range, and deleting the row). I feel both of these codes used to work fine, but I have been working tweaking it, and working on other code in the form and now I can't get them to work.
This is the Command Button code for creating a new user. It doesn't produce any errors, but nothing is getting added to the sheet:
This is the Command Button code for deleting a user. It produces Run-time error '13', Type Missmatch:Please Login or Register to view this content.
I have also attached my workbook. I have disabled the form from loading on startup. It can be opened by clicking on the Users button on the main 'Return Data' page.Please Login or Register to view this content.
Thanks,
James
Bookmarks