ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   to add new usernames (https://www.excelbanter.com/excel-programming/286702-add-new-usernames.html)

seanyeap

to add new usernames
 
Dear Sir/Madam
How do I add new usernames & password besides the existing one?

Can I delete this line as it doesn't affect anything?

Private Sub CancelButt_Click()
ThisWorkbook.Close SaveChanges:=False
End Sub

Instead, I have this below. Are they the same?

Private Sub CommandButton1_Click()
ThisWorkbook.Close SaveChanges:=False
End Sub

Pls refer to my attachment. Thank you.

Regards,
sea

Attachment filename: passwordbook.xls
Download attachment: http://www.excelforum.com/attachment.php?postid=39534
--
Message posted from http://www.ExcelForum.com


Tom Ogilvy

to add new usernames
 
How do I add new usernames & password besides the existing one?

According to your code, you would need to type in a username and password
combination in your worksheet under the existing ExcelTip Com combination.

The event name must match the name of the control. If the button is named
commandbutton1 then you would commandbutton1_click. If it has been renamed
to CancelButt, then you would use CancelButt_Click.

--
Regards,
Tom Ogilvy

seanyeap wrote in message
...
Dear Sir/Madam
How do I add new usernames & password besides the existing one?

Can I delete this line as it doesn't affect anything?

Private Sub CancelButt_Click()
ThisWorkbook.Close SaveChanges:=False
End Sub

Instead, I have this below. Are they the same?

Private Sub CommandButton1_Click()
ThisWorkbook.Close SaveChanges:=False
End Sub

Pls refer to my attachment. Thank you.

Regards,
sean

Attachment filename: passwordbook.xls
Download attachment:

http://www.excelforum.com/attachment.php?postid=395343
---
Message posted from http://www.ExcelForum.com/




seanyeap[_2_]

to add new usernames
 
Dear Tom Ogilvy,
I've created a new username & password under the worksheet,however,i
didn't work. Have you got a look at my file?

Regards,
sea

--
Message posted from http://www.ExcelForum.com


Tom Ogilvy

to add new usernames
 
It worked for me. I just typed in a new username and password, then saved
the file. Next time I opened it, I gave that username and password with no
problem. They are case sensitive.

--
Regards,
Tom Ogilvy


seanyeap wrote in message
...
Dear Tom Ogilvy,
I've created a new username & password under the worksheet,however,it
didn't work. Have you got a look at my file?

Regards,
sean


---
Message posted from http://www.ExcelForum.com/




seanyeap[_3_]

to add new usernames
 
it worked for 2 usernames? if yes,where did u type in?

Regards,
sean


---
Message posted from http://www.ExcelForum.com/



All times are GMT +1. The time now is 04:30 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com