So I have a worksheet that I have exported and easily formatted without code from SharePoint. I have cells A11 through R11 that I want locked so when I refresh the column widths don't go back to normal as I wrapped the text. Any help would be greatly appreciated.
I know VBA might have to be used and if so I would love a little description of why.
The following will keep certain column widths from being adjusted:
1. Select all the cells
2. Right click and choose Format Cells
3. Go to Protection tab and uncheck Locked
4. Select the columns you want to lock and repeat steps 1-3 above (this time check Locked)
5. Go to Review tab and deselect Select Locked Cells.
6. Click okay
That should work for you.
Related
I'm working in an excel data sheet and I have a developer checkmark in one cell. My intention is have the checkmark, once clicked to either copy or vlookup information on the previous 8 cells of the same row and have it copy to another tab of the same formatting/spacing. This may seem like a very complicated way of avoiding copy and pasting, however excel skills for others in my group and warehouse a very minimal.
Main cells
I've tried with formulas to detected the checkmark and nothing works as either =If or =Iferror(vlookup... but these do not detect the check box and having it as true or false does not yield the results needed.
I have a large file with a Scenario Manager, where changing a single cell on the Summary worksheet changes the visible scenario throughout the rest of the workbook. Data Tables are working a treat providing the headline values for each option.
I'd like to have a drop down on each sheet that when changed will change the same single cell on the Summary worksheet, so I don't need to go back to the Summary sheet every time I want to switch visible scenarios.
This is a simple process if I'm using macros and would be the solution I'd normally jump straight to. But this needs to be done without macros and this is where I'm now struggling.
Does anyone know if this is possible (without macros) and point me in the right direction?
Josh
You can insert combo box (Developer Tab > Insert > Form Controls > Combo Box) on each sheet. Mention linked cell as a cell of the summary sheet (Absolute reference with sheet name). That cell will give you index of the item selected in the drop down list. Then you can insert index formula in the cell you want to change every time to get value of the drop down list. Once you insert it on one sheet you can copy it to other sheets. No macros required.
I need to hid the formulas in my sheet without protecting the sheet,say i have sheet 1 in that i need to hide the formulas from range(A1:G10) i can hide the formula but iam not able to provide input for the whole sheet
My requirement is to hide the selected cells formulas and able to give inputs for other cells in the same sheet how can i achieve this.
Select the whole sheet, right click and then select Format Cells.... In the popup window, select Protection tab. Unselect both options and press OK button. This will unlock all cells on the sheet as by default all cells are locked. Next, select your range, repeat the above process again but this time ensure that both options (Locked and Hidden) are selected this time and press OK. Now protect your sheet (in Excel 2013, select the REVIEW tab and select Protect Sheet option and follow the steps).
This will hide your formulas and stop anyone changing the values in the protected cells
I have an excel sheet with 100s of rows. I want to be able to lock a particular range from being edited while the others can be left editable. And protect the locked range with a password.
Please help
Activesheet.protect locks the whole sheet. I want it only for a few cells.
F1 opens the Excel help. If you do a search in there, or on google, the top result would be the following link:
https://support.office.com/en-us/article/Lock-or-unlock-specific-areas-of-a-protected-worksheet-75481b72-db8a-4267-8c43-042a5f2cd93a
This should help you out.
In short:
Right click on the cells you want editable
Format Cells...
Tab Protection
For cells that people should be able to Edit: Uncheck "Locked". For cells that people should NOT be able to edit, leave the check for "Locked".
Click OK.
Next, go to the Review tab in the Ribbon and protect your sheet as normal.
I am looking for a way to add a logo or other picture in an Excel sheet and lock its position on the sheet, so that the user won't get annoyed if he happen to grab it while using.
I tried locking cells, sheet, but nothing seems to work.
I am using Excel 2007.
Not really a programming question but the way to do this is...
Right click the image and choose Size and Properties.
Click Properties tab and under properties,(optional- choose Don't move or size with cells) and ensure the Locked box is checked.
Highlight the cells of the worksheet you want the users to be able to edit, right click inside one of them and choose Format Cells. In the protection tab uncheck the locked checkbox.
Then you can protect the worksheet. Click Home, then Format, then Protect Sheet.
Make sure you unselect Select locked cells, leave the top checkbox selected (Protect worksheet and contents of locked cells) as well as select unlocked cells checked.