in excel 2007 I have a spread sheet that has hidden sheets. I know all the passwords. To unhide sheets I'm supposed to right click on sheet name tabs on the bottom and click unhide. However the unhide option is greyed out.
the hide - unhide under Home > Format is also greyed out.
I have a password for the whole sheet, but I don't know where to enter it.
I hate excel 2007 ribbon structure.
I figured out the Answer and it is:
Ribbon > Review > Protect Workbook
Unclick - Protect Structure and Structure
Enter the password and the menu items are enabled
Thanks everyone for the assistance.
Did you hide the sheets yourself or did someone else do it?
It's possible the sheets are "very hidden"; see this link for more information. You may have to use ALT+F11 to go into the Visual Basic Editor and change the sheet's Visible property.
for each worksheet ws in activeworkbook
begin
ws.visible = true
end
Correct the syntax if need be, but the above VBA should unhide all hidden worksheets.
Related
I created a TreeView on a Form that accompanies an excel worksheet.
When the TreeViewForm.show is executed, the TreeView Form is selected. I then need to manually click on the excel window to allow scrolling through the worksheet. I need to eliminate this manual click by activating the Excel Window.
I've tried a few things
TreeViewForm.Show
AppActivate ("Excel")
Windows("TreeView.xlsm").Activate
Worksheets(SheetSelected).Activate
ActiveSheet.Cells(Target.row, Target.Column).Select
I can select cells in the worksheet; however, the Excel window isn't on-top, or highlighted. The TreeViewForm is. Thanks for your help!
I'm not getting to remove this sheet from VBA explorer.
Here is some settings:
That's any protection workbook or sheet activated
The extension of the file is xlxm
Right click on sheet-tabs disabled in Excel:
You cannot remove a sheet in VBE Project Explorer (this is always grayed out for sheets).
You must remove the sheet in the tab bar of the Excel GUI.
' ^ Remove your sheet here by right click and select delete.
Note that if your workbook/worksheet is protected you need to unprotect it first:
Add or remove protection in your document, workbook, or presentation
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 in the midst of converting an amazing made-with-excel "application" coded entirely with VBA.
In one of the .xls file, and in its first Sheet "input", it has a bunch of dropdown boxes. selecting one of these dropdownbox will show in the formula bar:
=Calcs!$H$15
Now, the issue is that there is only one visible worksheet in the .xls at the beginning, and even after I unhide Sheet, only one other Sheet "report" appears.
But if I go into developer VBA mode, I can see the "Calc" sheet in the VBA Project panel, along with the "input" and "report" sheet, and also many other sheets that are not visible via unhide Sheet. But in VBA, the contents of these sheet is all empty (ie. there is no code in the sheets).
Now, my question is, how can I view the contents of Calc sheet and the rest? To see the cell values for the dropdownbox, and also other things?
If the sheet property "Visible" is set to xlSheetVeryHidden it will not show up in the list of hidden sheets. Change the property to either xlSheetHidden or xlSheetVisible in the VBA editor.
To make it appear, do as follows:
Double click the sheet within VBA
Open 'properties' (shortcut is F4)
Change the last property -1 xlSheetvisible
Rgds
Edit: Ups, already answered, sorry!
I found a way to hide Excel sheets which is as follows: set the visibility of the sheet to VeryHidden in the VBAProject properties and then password protect VBAProject properties.
This is great, but in Excel 2007, if you save it as XLSX, the VBAProject password protection is stripped and you can view the VBA code. Is there any way to prevent this?
OR, is there any other way to hide an Excel 2007 sheet?
Here is what you do in Excel 2003:
In your sheet of interest, go to Format -> Sheet -> Hide and hide your sheet.
Go to Tools -> Protection -> Protect Workbook, make sure Structure is selected, and enter your password of choice.
Here is what you do in Excel 2007:
In your sheet of interest, go to Home ribbon -> Format -> Hide & Unhide -> Hide Sheet and hide your sheet.
Go to Review ribbon -> Protect Workbook, make sure Structure is selected, and enter your password of choice.
Once this is done, the sheet is hidden and cannot be unhidden without the password. Make sense?
If you really need to keep some calculations secret, try this: use Access (or another Excel workbook or some other DB of your choice) to calculate what you need calculated, and export only the "unclassified" results to your Excel workbook.
No.
If the user is sophisticated or determined enough to:
Open the Excel VBA editor
Use the object browser to see the list of all sheets, including VERYHIDDEN ones
Change the property of the sheet to VISIBLE or just HIDDEN
then they are probably sophisticated or determined enough to:
Search the internet for "remove Excel 2007 project password"
Apply the instructions they find.
So what's on this hidden sheet? Proprietary information like price formulas, or client names, or employee salaries? Putting that info in even an hidden tab probably isn't the greatest idea to begin with.