Lock A Sheet

May 14, 2009

how to lock a sheet in Excel 2007 so that no one can navigate to that sheet.

View 9 Replies


ADVERTISEMENT

Lock Sheet Tabs Using VBA

Oct 13, 2008

I need to get rid of the option to DELETE a sheet. However, when I password protect the WORKBOOK (which does this fine) none of the Macro buttons will execute, even with Macro security settings set to ENABLE ALL.

Looks like I will need some VBA code to not allow any of the sheets in the workbook to be deleted.

View 5 Replies View Related

Lock Sheet But Not Pivot On Sheet?

Jan 25, 2012

I have a sheet. At the top I have a pivot that essentially lists all our Depts. Below is all kinds of data and calculations dervided via: vlookups on the dept chosen above. The sheet rerfreshes itself each time a new dept is chosen.

Well, they wanted certain cells protected. I did the ole: Tools then: Protection: then: Allow Users to Edt ranges and added the ranges that should be left unprotected after protection is applied. Of course the pivot was left unprotected.

Once you do the: Protect Sheet and and try to click the pivot dropdown to select a dept...it remains locked!!! An error pops up and says you can not have a pivot open on a protected sheet. WHY!! The range is open!!!

I need the user to be able to select their Dept from a dropdown and then my vlookups work off that.

View 2 Replies View Related

Lock Column F In Every Sheet Having Formula

Nov 27, 2011

I have Book having 11 Tables.

In each Tables in Column F i have formula like., =INDEX(Sheet2!A:A,MATCH(Jyotindra!G10,Sheet2!B:B,0))

I want to lock only column F for all Tables. and hide formula

All other columns and cell should be free to excess or edit.

How can i do that for all sheet at once?

View 2 Replies View Related

Lock A Sheet But Still Make Some Edits/run Macro

Oct 18, 2009

Some of the sheets in my spreadsheet contain some data and graphs with a few macros that are run when a button is pressed. At the bottom I have some comments with a macro that is run to timestamp when these comments are updated or edited.

What I would like to do is lock the entire sheet so that the data and graphs can't be tampered with, apart from the comments part at the bottom because I'd like to be able to have the comments editable. So far I have managed to do that, but when I edit a comment and the timestamp code is run it creates a run-time error 1004. I could just remove the timestamp code I guess but I'd like to keep it there... figuring that there must be a solution.

How can I work around this problem ? Either by being able to keep the sheet locked and still have the timestamp code run, or have it temporarily unlock the sheet - run the code - and then re-lock the sheet.

View 10 Replies View Related

Sheet Protection Column Width Lock

Jan 16, 2014

I am trying to Protect a Sheet to lock the width of just one column. Does the lock apply to all the columns in the worksheet or can it apply to a single column only. I can't seem to get this to lock just one column-if it is possible.

View 1 Replies View Related

Creating A Macro To Lock A Password Protected Sheet

Feb 23, 2007

I've got a work book with numourous password protected sheets which i quite often have to update (as i use around 10 of these with at least 10 sheets in each its time consuming). I've had several goes at creating 2 macros to unlock and then lock the sheets (with my password). I've managed to create on that unlocks the sheets using the password but i can't get a macro to lock the sheets up again using the password.

View 9 Replies View Related

Macro To Lock Cells In Protected Sheet Depending On Criteria

Dec 13, 2007

I have a Workbook that I use to log invoices and credit notes and it is password protected so that the cells that contain formulas are locked and therefore not selectable.

What I wanted to know is. Is it possible to lock other cells depending on what values are in certain cells?

Let me explain. I have Columns G & H which contain the heading 'Credit Note Number' & 'Credit Note Amount'. Now in columns I & J I have the heading 'Invoice Number' & 'Invoice Amount' respectively.

What I have done is to make a condional formatting so that If I put a value in cells in column G it will change the colour of the adjacent cells in columns I & J, likewise If I fill in cells in column I the conditional formatting will change the colour of adjacent cells in coulumn G & H. This helps me to see whether a row contains a credit note or an invoice.

What I would ideally like is for a Macro that would automatically locks cells G & H in a particular row that I am currently working on if I enter data into the cell in column I. Likewise if I am entering data in column G in the row I am currently working on for a credit note, then lock columns I & J in the row I am currently in.

Any Ideas how this can be done? Also can locking and unlocking of cells be done in VBA while the sheet is protected or would the macro need to temporarily unprotect sheet, lock the cells then protect sheet again?

PS: I have uploaded a Jpeg of what my conditional formatting does to try and illustrate what it is I need.

View 14 Replies View Related

Lock Cells, Protect Sheet With Password & Time Stamp

Jul 18, 2007

I have a worksheet with employees names and their overtime hours worked that week. I would like to add some code to a button that will prompt for a password. If that password matches a predefiened password then lock a range of cells and place a time stamp next to the button and maybe change the button color of the button to Red. Now if the person with the password wants to change the locked cells, they can click the button again and enter the password and the button will turn green so they can make the changes. I would like the time stamp to be updated every time the cells are locked. Also wanted to have one button for every work week so about four buttons per worksheet. Here is an example of the worksheet. The range of cells I want to lock are the ones in bold.

View 3 Replies View Related

Lock Sheets With Formulas And Lock Sheets With Values

Jul 2, 2009

do you know if there is vba code to lock formulas so someone sees but does not touch and the same for values see but cant change??

my sheets with formulas are SUMMARY and Sheet2

sheet with value is TABLE

View 9 Replies View Related

CAP Lock Via VBA

Dec 18, 2007

I have a spreadsheet that requires the user to use ALL CAPS when they fill it out. Is there a way to have VBA turn on the CAP Lock regardless of the persons keyboard setting? I have asked that the users use ALL CAPS but of course that leave a lot of room for error.

View 9 Replies View Related

Possible To Lock Workbook Name?

Apr 15, 2014

I'm looking at creating some templates that people will submit to me on a monthly basis but i'd like to 'lock' the workbook name, is this possible?

View 2 Replies View Related

Lock A Cell Value

Jul 25, 2007

=IF(A4='Exported Data'!B2,'Exported Data'!C2,"")

How can I lock A so when I copy over to the right the formula doesn't change that reference to B4?

Is there a way to have the True value (Exported Data'!C2) reference one cell over instead of selecting the cell to reference from?

View 9 Replies View Related

Lock Workbook Name

Nov 20, 2008

Is there a way to lock the title of the workbook so if someone else has it, they can't rename it even if they move it to their personal computer?

View 2 Replies View Related

Validation Lock

Apr 4, 2009

Having a problem locking the sheet and still have it work. Not sure if their is a easy work around for this. Just lock sheet and see what I get.

View 7 Replies View Related

Set CAPS-LOCK On And Off

Nov 21, 2009

Would like to set CAPS-LOCK On and Off using VBA. Can someone help please?

View 5 Replies View Related

How To Lock Each Tab With Different Password

Oct 25, 2011

I have a excel document with 5 tabs (sheets) and, because different people work with a different tab (sheet), I want to lock each tab (sheet). I want the tab to be visible on the tab bar but when you click on it you will not be able to see the content of that tab (sheet) until you provide the right password (each tab with a different pasword).

View 2 Replies View Related

Lock Tab Location?

Nov 16, 2011

Is there a way in excel to prevent someone from "re-ordering" tabs in a workbook without using a macro?

I am using a sum formula that goes across multiple tabs, but noted when I rearranged the order of the tabs, that the results of the formula changed. After some minor research, I noted that I had moved a tab outside the "sum range" inadvertently.

View 1 Replies View Related

Caps Lock In VBA

Nov 1, 2002

How do you programatically enable the CAPSLOCK key in VBA? I've tried:

Sendkeys "{CAPSLOCK}"

When I run this, Excel's status bar flashes "CAPS" for about 1 second then disappears. It seems to have no impact on the keyboard for case-sensitivity - which is what I'm shooting for.

View 9 Replies View Related

Lock Cell Value

Jan 12, 2008

Need code that would make cell J2 be populated with U no matter what was placed in cell J2 either manually or externally.

View 9 Replies View Related

Cell Lock

Feb 24, 2004

I can have amacro which will lock each cell where a "Y" or "N" is inserted........ eg the netire sheet is unprotected but the moment Y is inserted in C 5 the cell gets locked, next entry in D 10 has a N entry and that too upon entry get's locked
The idea being once Y or N is typed that cell can no longer be changed

View 9 Replies View Related

Lock Certain Cells By Vba

Nov 7, 2006

I am aware of setting protection to certain cells by the Excel Options. which is unlocking the by defalut locked cells and then setting the sheet protect in tools->protection. I want this to be done through VBA code.

i have a template which has text in some cells and some cells are blank, i need to lock the cells which has text and keep the blank cells unlocked for user input. As this is a template it will be copied to another sheet, so i need to retain the protection properties in all new sheets (copied from the template). Attaching the template for which the protection needs to be done.As of now the sheet1 has protection property set through the toolbar properties.

View 2 Replies View Related

Lock Vba Coding

May 1, 2007

How it is possible to lock the VBA coding and Modules? I mean when Some one want to view VBA coding the Password window should not appear, istead of that a message box appears with message something like "Not viewable"

View 9 Replies View Related

Lock Cells After Done With Formula?

Feb 8, 2014

I use the attached workbook to keep tack of feed use in turkeys. when a new flock is added to a farm (Airport View or Home farm) A template is copied and pasted from the "templates" sheet depending on what type of diet they will be on. (Ralco ABF or Ralco Standard) that template refers to the Ration sheet to calculate how much corn is in each diet. After a flock is complete I will never change the numbers again, it is just for record keeping. I want to be able to change the Corn/ton numbers in a ration (on the rations tab) if need be and not affect all the older completed records.

View 1 Replies View Related

How To Lock A Picture In Excel

Apr 11, 2013

I want lock a picture in excel like logo, if i copy that logo and past in another sheet the position should be same as parent sheet.

View 1 Replies View Related

How To Lock Formula Column

Oct 28, 2013

How to lock a formula column that need a password in editing the formula

View 3 Replies View Related

Lock Or Disable Textbox?

Feb 28, 2014

Can we lock or disable text box editing in excel without protecting sheets?

View 1 Replies View Related

How To Lock Cell Based On First Value

Jul 2, 2014

I have a multisheet excel workbook that I am programming. I was wondering if there is a way to lock a cell on one sheet after the initial value was put in, allowing me to change it later. This may not be so clear so here is the problem....

I have Workbook1. The input from cell A3 on Sheet1 is 5. I have made a second sheet called Order Form. In cell B5 of Order form I have made it ='Sheet1'!A3. I am looking for a way to be able to change cell A3 on Sheet1, but keep the 5 on Order Form.

View 1 Replies View Related

Conditional Cell Lock

May 29, 2008

I have an sheet(see attached) with some dummy data, now i want to lock (with password) only those cells depending on the dropdown (highlighted in sheet).For eg,if we select A from dropdown of col c and then locked from dropdown of col D , it should lock the complete row(s) of value A in col H and rows with value B shall remain editable.

View 14 Replies View Related

Lock Project From Viewing

Oct 22, 2008

I've done the following steps so far:

Tools
VBAFormatProperties
Checked the "Lock Project from Viewing"
Applied a password
and clicked Ok

View 3 Replies View Related







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