Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
Is there a way to prevent a user from deleting certain worksheets yet still
being able to insert new worksheets? Thanks, Karen........ |
#2
![]() |
|||
|
|||
![]()
Karen
Not without using VBA. You would have the workbook protected to prevent deleting sheets. Run a macro which would unprotect the workbook and add a given or chosen number of sheets then reprotect the workbook. Record a macro while you go through the above steps to add one sheet. Will look something like this. Sub Sheets_Add() Dim i As Long Application.ScreenUpdating = False ActiveWorkbook.Unprotect Password:="justme" howmany = InputBox("Number of Sheets to insert") For i = 1 To howmany Sheets.Add Next i ActiveWorkbook.Protect Password:="justme", Structu=True Application.ScreenUpdating = True End Sub Gord Dibben Excel MVP On Mon, 12 Sep 2005 12:05:07 -0700, "Karen" wrote: Is there a way to prevent a user from deleting certain worksheets yet still being able to insert new worksheets? Thanks, Karen........ |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I prevent users to delete a worksheet, but allow to edit? | Excel Discussion (Misc queries) | |||
Prevent unhide of rows/columns w/out worksheet protection? | Excel Discussion (Misc queries) | |||
Copy from worksheet to another x times | Excel Discussion (Misc queries) | |||
can you prevent viewing of specific columns in a worksheet | Excel Worksheet Functions | |||
copyright and worksheet protection | Excel Discussion (Misc queries) |