Multiple User Logins & Passwords In Workbook

Nov 4, 2006

how to create user logins and passwords for five users for one workbook. Also, preferrably to have a message to prompt for entering the user name and password at the first worksheet (e.g. the main page where there it is usually the company logo page) when the workbook is open.

E.g. there are five employees and we would like to create five different logins and passwords for them. So when they open the workbook, it would be the first sheet of the workbook to appear first and they would then be prompt to enter their username and password. If one of the employees leave the company, we can still quite easily change the name to the new employee.

View 6 Replies


ADVERTISEMENT

Multiple Passwords In 1 Workbook

Nov 3, 2006

My workbook contains a number of worksheets - currently nine. Each worksheet details a specific "business unit" for the company I work for. Using VB, is it possible for Excel to request a password upon opening the workbook? If so, the specific password input would determine the specific worksheet(s) that are available for viewing.

View 3 Replies View Related

Removing All Passwords From Whole Workbook?

Mar 10, 2014

I have a workbook that has data that I copied over from another workbook that had a password connected to it. I want to remove it, as when I click enable content it is asking for the password from these old documents. I know the passwords, but do not want them to pop up.

View 3 Replies View Related

Protecting Sheets With Multiple Passwords?

Jan 29, 2014

I have different sheets in my workbook for which i have different passwords with which i need to protect each sheet with the password assigned to it.

Is it possible to do a macro which automatically protect the sheets with the correct password.

I have attached a sample workbook the sheet "passwords" will have sheet names in first column and respective passwords in the second column.

View 6 Replies View Related

Protecting Document With Multiple Passwords?

Feb 17, 2014

I have recorded a macro and added this to a button on the document. I was wondering if it will be possible that each user who works on the document can use a specific password to unlock cells and autolock once document is saved. I have a seperate document that has the users and their specific passwords on.

View 1 Replies View Related

Automatically Generate Passwords For Multiple Sheets

Feb 20, 2014

I have a workbook in which users record the time spent on various activities. I have some code which will copy the worksheet template and create a worksheet for each user (in a defined list of names). Then each worksheet needs to be password protected so only the user can see it (I can do this individually by manually writing in each sheet name and setting a password but will have 80+ users for some groups and it will take ages...)

What I would like to be able to do is also automatically generate a password for each user (combining a word and automatic number e.g. "EMidsTeam123") it may be possible to insert this into the code I already have (which I have copied )...

VB:

Private Sub Workbook_SheetActivate(ByVal Sh As Object)
Dim strPass As String
Dim lCount As Long
If Sh.CodeName <> "Sheet1" Then
'Set sLast variable to the last active sheet This is then used to return the user to the last sheet they were

[Code]....

View 6 Replies View Related

Multiple Users With Passwords And Admin Can View All Of Them

May 28, 2014

The problem - there are multiple users, each one has its own excel file, but it has to be password protected. I assume there is a simple VBA script or something. I found something here - User name and password to open excel file . I guess I don't need it to be that complicated. I haven't gotten it to work yet, so I can't tell if it's what I need.

Also there is an Admin or whatever that has to view all of the users excel files in one excel file. Is this even possible?

View 1 Replies View Related

Excel 2010 :: Protect Worksheet With Multiple Passwords

Feb 16, 2014

I have an excel file with three worksheets in it. I can happily protect each sheet with a different password but what i want to be able to do is the following:

a. have a global administrator password for all the sheets - so i assume set the same password to protect the whole sheet
b. have individual passwords that only allow the user to insert rows and change data within restricted columns, i.e. can only edit columns A:Z and cannot manipulate any formulas within that range A:Z

I have excel 2010 if that makes any difference.

View 2 Replies View Related

Access From Different Logins

May 5, 2007

I have created few excel files from "X" login account and when i try to open it from the "Y" login account, it opens it in the read only mode. do you know how to access it from Y account in the edit mode or the write mode.

View 2 Replies View Related

Display Different Data In Different Logins

Mar 30, 2007

Would it be possible to display different data based on logins???? for instance, if i login with passwd1 i should be shown data set 1 and when i login with passwd2 i should be shown data set 2 ????

View 2 Replies View Related

Unique Counts Of A Values / Logins Per Day

May 13, 2014

I have a pretty simple spreadsheet with two columns. In Column A is a unique identifier for a user (608901, 505141, etc.). In Column B is a date the user logged in (5/1/2014). For a week's span there are about 25k rows.

Users can and do log in multiple times per day creating duplicate entries for a single day (680717 might show up 3 times for 5/1/2014). What I need to figure out is how to get a count of all unique logins per day. So if 680717 in previous example logged in 80 times on 5/1/2014, that only counts as 1 unique login for 5/1/2014.

View 6 Replies View Related

Two Different Passwords Without Debug

May 9, 2008

I have a problem with a HUGE macro project I'm working on. The macro itself isn't huge, but it's being applied to about 10,000 files. The macro is updating information on three spreadsheets in each workbook, but the problem is that the password protection (and Macro in general) fails to unlock when the password was entered in UPPERCASE. So the password is "king" and/or "KING" depending on the sheet. There is no way of predicting which sheets will be caps and which will not, but it's frustrating when my macro stops every 5 files with an error because of a wrong password (even though it's always one of those two).

Is there an IF THEN statement or something that I can do so that the macro doesn't stall every 30 seconds to 2 minutes... I have 10,000 files to crawl through.

View 10 Replies View Related

Controlling Several Passwords

Jul 28, 2006

how to liberate only the sheets already opened by this user, even after he/she has closed the workbook? It means that when this user re-open the workbook, only the password for this step (workbook) and of course for the sheets still closed (not yet visited), will be requested...

There will be about 20 users, accessing the same file (at least 8 or 9 at the same time), and each one has a different level. For this reason the workbook is also protected: depending on the username and password, I'm trying let excel "knows" what sheet each user can open, without type a password again. trying to illustrating: (all users and password are added by me, using a MasterSheet)

user1 ----- already unprotected sheet9 ----- can open sheet1 to 9 (no password, even re-opening the workbook)
to open the sheet10, a username and a password are required

user2 ----- unprotected sheet3 ----- can open sheet1 to 3 (no password, even re-opening the workbook)
to open the sheet4, a username and a password are required

............. and so on.........

View 4 Replies View Related

Auto Generate Passwords

Nov 24, 2008

Is there a way to auto generate passwords? I would like the result to start off with the word "cook" and end in numbers. Is this possible?

Password: cook###

View 7 Replies View Related

Passwords And Drop Down Lists

May 3, 2009

How would I write a marco that requires a password when a certain word in a drop down list is selected, bearing in mind that when this word is selected certain cells in the worksheet are no longer locked - in other words the certain cell can only changed by a specific person in the drop down list which when this person is selected a password is required.

View 14 Replies View Related

Hidden Tabs And Passwords

Oct 13, 2007

I have been doing a lot of reading on the forums here on hiding tabs and passwords for my current project...and suffice to say I am completely...totally...stuck.

Basically, I have 11 different tabs that need to remain hidden until, the person clicks on a commandbutton which brings up a userform that asks for a password.

Now - I have it set up that the user prior to this stage chooses thier location and it populates a label1 field on the password request userform.

My biggest problem is this: I cannot seem to figure out how, in using a userform, to get the password to be recognized as TRUE....here is the
Private Sub TextBox1_Change()
a = UserForm12.TextBox1

If a "password" Then
MsgBox "Wrong Password"
Sheets("RatesII").Visible = xlSheetVeryHidden
End If
End Sub

Now, my idea is that once the correct password is used, the userform dissmisses itself, the correct sheet is activated and unhidden for viewing and the user goes about doing what they do on this sheet. I will also have a button on the sheet itself titled something like "Update" which will save the sheet, and re-hide it and call up the userform once again...something I am a little scetchy on at this time though I immagine I will figure it out.

View 9 Replies View Related

Preventing Users From Using Passwords

Mar 18, 2008

I have made an integrated timesheet for everyone at work. Problem is, people will be funny-beggers, and want to password protect their workbooks.

I want to be able to prevent EVERYONE from creating passwords to protect their workbook.

View 9 Replies View Related

Generate Unique Log In Passwords

Aug 26, 2006

I have a list of e-mail addresses stored in an Excel file (column A). I need to generate some passwords basing on these e-mail addresses which would then be automatically stored in the same row as the passwords, only this time in column B. The passwords could be numbers based on some text to number conversion (which I could additionally add some mathematical operation to, to make the password harder to crack). The passwods would then be distributed among the owners of these e-mail addresses.

View 5 Replies View Related

Create Alphanumeric Passwords

May 14, 2007

I would like to use an excel spreadsheet to generate a series of passwords. The password must include alphanumeric content, and be at least 10 characters long, and case sensitive.

For example: 14sH2dA456a

Thought about concatenting each variable, but do not know how to control the random variable creation in a spreadsheet?

I have looked at RAND but can't figure out how to use it to any avail?

View 9 Replies View Related

Generate Usernames & Matching Passwords

Jun 7, 2009

I need some code that will generate passwords from a combination of a master password and other words such as a user name. I have seen references to use of the MD5 algorithm but would not know if or how this could be incorporated into vba.
This would be used in an workbook which is distributed to different users. In order to use the workbook, they would need to enter their user name and password. The macro would check if these were correct or not. Because the password is generated by the macro, it avoids having to have them hidden in the workbook somewhere.

View 5 Replies View Related

How To Apply Different Passwords To Each Columns Without Protect Worksheet

May 9, 2013

In the attached file, I need four different passwords for Columns D, E, F, & G Respectively.

I had gone though below link and partially I could able to achieve what I need.

[URL]

However, the problem is at the end of this process we have protected the worksheet as well. This is not feasible for the process what I am working on.

how to apply different password without protecting worksheet.

View 5 Replies View Related

Determine Last User Of Workbook

Sep 10, 2007

Trying to determine who has a file open, the code below works for simple files. However if the workbook contains macros and user forms it seems there are multiple occurances of the search terms strFlag1, strFlag2. How can I determine the last user

Function LastUser(path As String)
Dim text As String
Dim strFlag1 As String, strflag2 As String
Dim i As Integer, j As Integer
strFlag1 = Chr(0) & Chr(0)
strflag2 = Chr(32) & Chr(32)
Open path For Binary As #1
text = Space(LOF(1))
Get 1, , text
Close #1
j = InStr(1, text, strflag2)
i = InStrRev(text, strFlag1, j) + Len(strFlag1)
LastUser = Mid(text, i, j - i)
End Function

Above code taken from Determine Last User

View 2 Replies View Related

Lookup In Workbook Specified By User

Oct 21, 2007

i have 3 files :

1-april 2007
2-may 2007
3- total

i want a macro that that 1+2 and with "vlookup" out the cells in "total". i start to record the macro but ... it's not work at all. i want to put an input box that ask the user "what month and year" and then put the relevant file in the vlookup.

View 2 Replies View Related

Track Changes In Workbook By User Name

Jun 27, 2008

I am unable to add which user made the change to the specific cell. The code used is:

Dim vOldVal 'Must be at top of module
Private Sub Worksheet_Change(ByVal Target As Range)
Dim bBold As Boolean
If Target.Cells.Count > 1 Then Exit Sub
On Error Resume Next
With Application
. ScreenUpdating = False
.EnableEvents = False
End With
If IsEmpty(vOldVal) Then vOldVal = "Empty Cell"
bBold = Target.HasFormula
With Sheet1
. Unprotect Password:="Secret"
If .Range("A1") = vbNullString Then
.Range("A1:E1") = Array("CELL CHANGED", "OLD VALUE", _
"NEW VALUE", "TIME OF CHANGE", " DATE OF CHANGE")
End If..................................................

View 3 Replies View Related

Prevent A User From Opening Another Workbook

Feb 12, 2009

How can I prevent a user from opening another workbook in an Excel session "from the outside"?

I'm fairly new to VB. I'm developing (in VB 2003) a simple but SECURE Excel environment which will allow a user to update a hidden Master_Records workbook. I need to keep the user's Excel session secure...for example, I've disabled all Excel Toolbars and Command Buttons, effectively preventing the user from doing anything except filling in some cell values and clicking on a few custom buttons in the worksheet. But how can I prevent the user from opening another workbook into the active session from his desktop and introducing some malicious code into the session via that route?

One respondent in another forum (the only one, in fact) suggested that I look into "instantiating workbook level events" so that I can detect when other workbooks are open. I'm not sure what that means, is there someone here who could give me some guidance into that solution?

View 13 Replies View Related

Save Workbook When User Makes Changes

Sep 24, 2009

I wrote a code that is suppose to save the workbook every time a change is made but so far I have been unsuccessful at getting it to work. The workbook contians 7 worksheets.

This is the code I wrote to try and accomplish this task ....

View 6 Replies View Related

VBA Code So User Cannot Save Workbook

Oct 11, 2013

I have a workbook that is shared between 10 users and this work book is known as Master, what I don't want to happen is for one of the users to over write and save it. So is there a way one not allowing the user to save but allow the user to save as.

View 2 Replies View Related

Inform If Another User Has A Workbook Open

Apr 18, 2007

Need a way of quickly telling whther a user as a workbook open without trying to open the workbook yourself? I have many individual workbooks which I need to regularly update, before I can update them I have to check whether anybody else has them open and then wait until they are out before I can do the update.

View 9 Replies View Related

Preventing A User From Saving A Workbook

Apr 10, 2008

if it is possible to prevent a workbook from being saved other than by a macro (So no saves on Ctrl + S or File Saves). Basically, I want to allow users to use a template that I have set up, but I do not want to allow them to be able to save the document.

View 9 Replies View Related

User Form At Workbook Open

Aug 2, 2008

How to display the userform when the workbook is opened?

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved