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


ADVERTISEMENT

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 The Document

Jan 15, 2008

Version used: Excel 2003

I have a spreadsheet that everyone in my department uses. My boss has asked me to protect certain columns so that only I can edit them but leave others so that the rest of the depratment can use those.

I have tried locking the ones I am to use and unlocking the ones the others can use then protecting the document. This works well enough as far as it goes, however, it is combersome having to unprotect then reprotect it every time I need to work on it. Also, that method makes the drop down lists that we are using for easy sorting no longer function.

View 9 Replies View Related

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

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

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 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

Protecting / Unprotecting Multiple Worksheets

Jul 21, 2014

I have a workbook which contains 52 worksheets, all of which need protecting. Is there a way of protecting / unprotecting all these worksheets without having to enter my password on each separate sheet?

View 3 Replies View Related

Macro For Protecting Sheet (with Same Name) On Multiple Files At Once?

Jul 19, 2014

I have a macro that duplicates a excel file into how ever many files I need... so If I need 150 copies of the the file, it will make it 150 times.

However, each file the first tab called "Clients" has information that I want protected so users can't alter it. I can't protect it before I run the duplication because the data is added by a group of people and I need it unprotected until they add the information.

What I am looking for is a macro that I can click and run, allows me to select multiple files, then it will automatically Protect Sheet 1 "Clients" on all the files I select so I don't have to open all 150 files after data is entered and Protect sheet 1 manually.

View 5 Replies View Related

Macro Protecting Multiple Sheets In Workbook?

Sep 6, 2012

I have a large workbook with 10+ sheets i need to protect all at once. I have created a macro in VBA below. It works, but I would like another user to be able to change formatting on the sheets while they are protected. below is my macro.

Sub ProtectAll()
Dim wSheet As Worksheet
Dim Pwd As String

[Code].....

View 1 Replies View Related

VBA To Add Multiple Tables To End Of Word Document

Jul 11, 2008

I have an Excel spreadsheet of data that I would like to export into tables in a new word document.

The code below (without the marked section) does this, but I can’t figure out how to create a second table after the first one.

Eventually I will use a For…Next loop to do this many times, but I’m trying to make the problem smaller by just making a second table.

Sub CreateNewWordDoc()
' add a reference to the Word-library
Dim wrdApp As Word.Application
Dim wrdDoc As Word.Document
Dim wrdTable As Word.Table
Dim xText
Set wrdApp = CreateObject("Word.Application")
Set wrdDoc = wrdApp.Documents.Add ' create a new document
Set wrdRange = wrdDoc.Range
wrdApp.Visible = True.........

View 9 Replies View Related

Replacing Multiple Words At Once In Excel Document?

May 23, 2014

I wonder is there a way in excel to replace multiple words at once. To have like script where I had all words that need to be replaced and words replacing those. And just click the button and done? More specifically I'm translating some exports in xls and there are few words repeating over and over again in every document. So for example I need to replace word parfem for perfume like 500 times in one excel document atd. I think there has to be a easier way to replace those words at once.

View 5 Replies View Related

Mail Merging Multiple Rows One Document

Jun 20, 2014

I am trying to mailmerge a spreadsheet relating to invoices. there are multiple rows for each company, however each row is a unique Invoice Number.

Instead of email mail merging normally, I want just one mail merge made for each company, where it lists the invoices there, rather than a whole new document per row. Otherwise I'd send one company 50 emails!

I have attached an example spreadhseet - and I have attached a screenshot of the word document Im working on.

Dont ask me where I got that code at the top of the word document - ive copied and pasted from somewhere - it might as well be written in italian. Im trying to match the mergefields with what I think it's trying to denote. Yet, I cant make an If then else mergefield?

Is it possible to do this sort of mail merge, then use the email column to designate where to send the finished merged product?

Attachment 326799
Attachment 326800

View 1 Replies View Related

Multiple Sheet Document - Daily To Weekly

Jul 19, 2012

I have a multiple sheet document, on the first sheet I have my daily data:

Name
ID#
Ward
TTO
Transport
Transport 2
Date
Time In
Time Out
Time Stayed

ex1
xxxxx
12
xx
Taxi

01/01/12
xx:xx
xx:xx
xx:xx

[Code] ........

This is updated daily and it shows patients that have been through the department, who, when and how long. This is then converted on sheet 2 and shows as:

Date
Number of Patients

01/01/12
2

02/01/12
1

03/01/12
1

My third sheet has a very similar layout to sheet 2 but is weekly, previously i have used the following to find a weekly total:

=SUM('sheet2'!B563:B567)

I now have well over 4000 rows and altering this sum to accommodate for each week is time consuming as sheet 2+ are updated to cover the following 6 months.

Is there a better formula or a way to use the current formula and drag it down to auto fill? Currently trying to auto fill does the following:

=SUM('DAILY ANALYSIS'!B563:B567)
=SUM('DAILY ANALYSIS'!B564:B568)
=SUM('DAILY ANALYSIS'!B565:B569)

I want something like:

=SUM('DAILY ANALYSIS'!B563:B567)
=SUM('DAILY ANALYSIS'!B570:B574)
=SUM('DAILY ANALYSIS'!B577:B581)

View 2 Replies View Related

Multiple Fonts- Automate Text For A Document

Mar 28, 2008

I am trying to automate text for a document. How can I combine Greek symbols and normal typing in one cell?

View 9 Replies View Related

Searching For Mistakes In Document While Using Another Document As Reference

Feb 2, 2014

I am processing a fair few Invoices, which are being sent to me via e-mail as excel documents, very often they contain mistakes, a decent amount of mistakes. Usually the prices are wrong.

I keep track of every single entry on the invoice on my own document - Tracker, which I consider to be the superior/more correct document to the Invoice presented to me by my contractor.

Both of the documents have a reference number, which is a specific docket number, and horizontally, in the invoice, there is going to be a price for this docket. In my document, there is going to be a separate column for the total price.

Is it possible (I guess with VBA) to check for mistakes in the Invoice, but use the Tracker as a reference for this check.

Tracker has
columns
A - Name
B - Department
C - Date
D - Docket No.
C - Total price for the docket (calculation of E to Z)
E to Z - all smaller entries

Invoice has
columns
A - Date
B - Docket No.
C to E price for that docket, but it is spread, because departments are separated out, so each VAT account can be charged accordingly. I guess it is possible to do a separate column for the price, if it is easier to do a script that way.

Basically, I need to check if in the Invoice document, the price (C to E) for Docket No. (B) is the same as the price (C) for the Docket No. (D) in the Tracker.

I would like the wrong entries to be highlighted on the Invoice Document, so I can see straight away, that this needs attention.

Not always the price is wrong, sometimes the Docket No. is spelled incorrectly (Dyslexic contractor), hence the highlighting.

View 3 Replies View Related

Script That Will Turn Excel Document Into A Txt Document

Feb 17, 2009

I need a script that will turn a excel doc into a txt doc. Thats the easy part. The hard part (at least I think it is), is I need it to be in a certain format and I'll do my best to explain that fomat below.

View 9 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

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

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

Excel 2010 :: Hiding And Locking Columns And Formulas Together Via Passwords?

Mar 8, 2014

Is there a way in Excel 2010 that the administrator of a excel document can not only hide some columns but lock the columns by some kind of password so it remains hidden? I know user can hide/unhide columns but can some columns be hiddens and locked with passwords?

Secondly can formulas like IF and vlookups statements be hidden and locked with some kind of password?

In maybe via VBA or by some other means, is this possible?

The end user should only be able to type and select certain cells only.

View 5 Replies View Related







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