Is it posiible to hide & protect sheet so that no one can see that it is hidden & unprotect it withot me.
Is it posiible to hide & protect sheet so that no one can see that it is hidden & unprotect it withot me.
A mighty flame followeth a tiny sparkle!!
The best that you can do is to go into the VB IDE, select the worksheet in the exploirer window, and then in the properties window (Ctrl-G), set the Visible property to very hidden. Hidden will hide it, but it will still show in Format>Sheets, whereas very hidden will not show it there. Of course, if the user is aware of this, they could change it back in the same way.Originally Posted by excelliot
____________________________________________
Nihil simul inventum est et perfectum
Abusus non tollit usum
Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
James Thurber
This works for newbie who dont know about editing the sheet through VB IDE.Originally Posted by xld
But i have seen one sheet in which sheet waw extremely hidden to whic i could not unhide it throuhgh VB IDE.
A mighty flame followeth a tiny sparkle!!
There might be some VBA project protection, or something else, but I have never seen an Excel file that I couldn't crack.Originally Posted by excelliot
____________________________________________
Nihil simul inventum est et perfectum
Abusus non tollit usum
Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
James Thurber
If your trying to hide confidential info, don't bother with the built-in protection. There is software out there that can crack it in seconds...
Seperate document protected by network rights is always best.
The only way I can see this is if the VBProject password was set. Even so, as Bob mentioned, it's easily cracked by someone who knows what they're doing.Originally Posted by excelliot
Personally, I use xlVeryHidden all the time to hide sheets that I don't want users to play with, and I never bother with protecting the Project. If they're that savvy and that determined, they will get in. Excel is NOT a secure development platform for confidential info, and MS has never claimed that it was.
If your files are that confidential, put them somewhere else. If you have a user who is that problematic, discipline or fire them. If you've asked them not to go in there, made it as difficult as you can and they still crack it... I'd say you'd have just cause.
My 2 cents.
Ken Puls, CMA - Microsoft MVP (Excel)
I hate it when my computer does what I tell it to, and not what I want it to.
Learn how to use our KB tags! -||- Ken's Excel Website -||- Ken's Excel Forums -||- My Blog -||- Excel Training Calendar
This is a shameless plug for my new book "RibbonX - Customizing the Office 2007 Ribbon". Find out more about it here!
Help keep VBAX clean! Use the 'Thread Tools' menu to mark your own threads solved!
Ok can i hide sheet very hidden & control it by macro so that it can not be unhidden. or can i do it by another way....
A mighty flame followeth a tiny sparkle!!
Uh... sort of.Originally Posted by excelliot
This will hide the sheet:
This will unhide it:worksheets("Sheet1").visible = xlsheetveryhidden
But what we were trying to say is that even if you do mark it VeryHidden, a use CAN still walk into the VBProject and change the status manually, or via the immediate window.worksheets("Sheet1").visible = xlsheetvisible
Ken Puls, CMA - Microsoft MVP (Excel)
I hate it when my computer does what I tell it to, and not what I want it to.
Learn how to use our KB tags! -||- Ken's Excel Website -||- Ken's Excel Forums -||- My Blog -||- Excel Training Calendar
This is a shameless plug for my new book "RibbonX - Customizing the Office 2007 Ribbon". Find out more about it here!
Help keep VBAX clean! Use the 'Thread Tools' menu to mark your own threads solved!
Look at this sheet which is in KB
in this sheet there is 2 sheets whic is xlveryhidden
this can not be unhidden
how this can be done
A mighty flame followeth a tiny sparkle!!
It is done.Originally Posted by excelliot
As Ken and I said, protection in Excel is easily beaten
____________________________________________
Nihil simul inventum est et perfectum
Abusus non tollit usum
Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
James Thurber
Can u tell me how to prorect sheet like sheet i have provided & unprotect itOriginally Posted by xld
A mighty flame followeth a tiny sparkle!!
Do it in Excel with the macro recorder on, it will give you the code.Originally Posted by excelliot
____________________________________________
Nihil simul inventum est et perfectum
Abusus non tollit usum
Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
James Thurber
What is workbook structure & windows structure in xl.
How to protect workbook structure & window structure.
A mighty flame followeth a tiny sparkle!!
I really don't follow quite what you're asking here... can you explain what you're after, exactly?
Ken Puls, CMA - Microsoft MVP (Excel)
I hate it when my computer does what I tell it to, and not what I want it to.
Learn how to use our KB tags! -||- Ken's Excel Website -||- Ken's Excel Forums -||- My Blog -||- Excel Training Calendar
This is a shameless plug for my new book "RibbonX - Customizing the Office 2007 Ribbon". Find out more about it here!
Help keep VBAX clean! Use the 'Thread Tools' menu to mark your own threads solved!
In a sheet workbook structure & windows structure is protectedOriginally Posted by kpuls
can u tell me How to protect workbook structure & window structure.
A mighty flame followeth a tiny sparkle!!
Ah, sorry excelliot. I've never used those properties yet.
Here you go:
HTH,ActiveWorkbook.Protect structure:=True, Windows:=True
Ken Puls, CMA - Microsoft MVP (Excel)
I hate it when my computer does what I tell it to, and not what I want it to.
Learn how to use our KB tags! -||- Ken's Excel Website -||- Ken's Excel Forums -||- My Blog -||- Excel Training Calendar
This is a shameless plug for my new book "RibbonX - Customizing the Office 2007 Ribbon". Find out more about it here!
Help keep VBAX clean! Use the 'Thread Tools' menu to mark your own threads solved!
in version 2000, I am at work and can't properly recall what differences on newer versions for the protection dialog box.
Manually:
TOOLS > PROTECTION > PROTECT WORKBOOK:
- Place a check next to "Windows"
VBA:
Option Explicit Sub test() With Workbooks(ThisWorkbook.Name) .Protect , True, True End With End Sub
Justin Labenne
thank all
A mighty flame followeth a tiny sparkle!!