ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Prevent unhide sheet (https://www.excelbanter.com/excel-worksheet-functions/208150-prevent-unhide-sheet.html)

acss

Prevent unhide sheet
 
I know how to hide a sheet but i do i prevent a user from performing the
unhide? Does it have to be done using VB or hiding a particular toolbar?

Thanks,

Dave Peterson

Prevent unhide sheet
 
You could protect the workbook.
Tools|Protection|Protect workbook|Check Structure
(in xl2003 menus)

But this kind of protection is easily broken.

If you have information that shouldn't be seen by others, then don't put it into
excel.

If you have to put it in excel, then don't share that file with others.

acss wrote:

I know how to hide a sheet but i do i prevent a user from performing the
unhide? Does it have to be done using VB or hiding a particular toolbar?

Thanks,


--

Dave Peterson

ShaneDevenshire

Prevent unhide sheet
 
Hi,

Try this:
1. Right click any toolbar and turn on Control Toolbox
2. Click the Properties button
3. Change the Visible property to xlVeryHidden
4. Press Alt+F11 and select your workbook in the Project window.
5. Choose Tools, VBA Project Properties,
6. Choose Protection and check Lock project for viewing and add a password.
7. Close the file and reopen it.

All passwords can be broken, but some are easier to break than others.

--
Thanks,
Shane Devenshire


"acss" wrote:

I know how to hide a sheet but i do i prevent a user from performing the
unhide? Does it have to be done using VB or hiding a particular toolbar?

Thanks,



All times are GMT +1. The time now is 02:31 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com