Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 40
Default is it possible to unable the user to add more sheets to a workboo

Same question
is it possible to disable to deletion of worksheet in a workbook ?

Thanks for your help



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default is it possible to unable the user to add more sheets to a workboo

Bonjour François,

If you password protect your workbook, then you can't add or delete a
worksheet.

Hope this was helpful

Denys

"François" wrote:

Same question
is it possible to disable to deletion of worksheet in a workbook ?

Thanks for your help



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,120
Default is it possible to unable the user to add more sheets to a workboo

Bit kludgy, but seems to work

Private Sub Workbook_NewSheet(ByVal Sh As Object)
Application.DisplayAlerts = False
Sh.Delete
Application.DisplayAlerts = True
End Sub

'This is workbook event code.
'To input this code, right click on the Excel icon on the worksheet
'(or next to the File menu if you maximise your workbooks),
'select View Code from the menu, and paste the code


--
HTH

Bob Phillips

"François" wrote in message
...
Same question
is it possible to disable to deletion of worksheet in a workbook ?

Thanks for your help





  #4   Report Post  
Posted to microsoft.public.excel.programming
jjk jjk is offline
external usenet poster
 
Posts: 42
Default is it possible to unable the user to add more sheets to a workboo

Using menu Goto
Tools - Protection - Protect Workbook
Make sure Structure is checked.

Programatically
ThisWorkbook.Protect Structu=True

Regards,
Jayant

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to select sheets when maximized Horatio J. Bilge, Jr. Excel Discussion (Misc queries) 0 November 12th 09 02:01 PM
How to keep font color when referencing Sheets in the same workboo AdirondackSam Excel Worksheet Functions 4 September 11th 08 01:14 AM
how do i link one sheet to another sheets cell of the same workboo MANDAR Excel Discussion (Misc queries) 1 May 14th 08 08:35 AM
Can columns be hidden accross multiple sheets in an Excel workboo Ray Naylor Excel Worksheet Functions 11 September 30th 06 07:38 AM
Unable to add user-defined data types to a collection Adrian[_7_] Excel Programming 3 July 14th 04 08:01 PM


All times are GMT +1. The time now is 10:11 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"