index > Visual Studio Tools for Office > VSTO Excel: named range

VSTO Excel: named range

Hi,

I'm new at using vsto for excel. I created a vsto for excel, added some sheets, with data,... I also added a few named ranges, . My question is the following: Is it possible to catch the event when the users deletes a 'Named Range'.

This to prevent that the named ranges that I created will be deleted, and that the user is allowed to delete his own named ranges, but not my named ranges.

TIA,

Isabel

Isabel_v

Isabel,

Take a look at the Sample that illustrates how to protect various controls on your Excel worksheet. http://msdn2.microsoft.com/en-us/library/ms268876.aspx

Thanks.

Naveen Yajaman - MSFT
reply 2

You can use google to search for other answers

 

More Articles

• Error opening an excel file with cached data
• B2TR and VSTO v3?
• Excel Constants
• Issue Adding User Control at Run time to Excel - VSTO 2005
• Selection.End(Excel.XlDirection.xlDown).select()
• Adding Dynamic Data points to the Excel at runtime.
• Outlook Add-in
• Remove delegate from Item.Read and Item.Open
• Odd behavior of UserControl
• Null values displayed as 0 in OWC Pivot Table
Bookmark and Share
Welcome to Bokebb   New Update  
 

New Articles

• Is VSTO found in Visual Studio 2005 Prof
• Column and row names
• Adding Smart Tag interferes with Actions
• Problem with Bookmark
• How to build Installer in 'Release' mode
• Insert HTML text in a Word document
• Print an excel file with c# and print pr
• a problem in setting a custom color over
• undo in excel
• Can SmartTag recognize a Excel Cell's Fo
• Warning MSB3187 when publishing VSTO sol
• data from query result to excel graph/ch
• VSTO2005 samples
• Problems with VSTO 2005
• How to find whether there is a blank pag

Hot Articles

• can we use the concept of cookies in vst
• Outlook Addin custom Options.
• Charts in VSTO Word
• "Failed to update customization fro
• Repeating Table Headers in Word 2003
• C# and ActiveWindow.ActivePane.View.Type
• Microsoft.Office.Tools.Word.XMLNode.Cont
• newbie in smart clients
• How to use set_subTotals in VSTO with C#?
• Mapping CustomXML data into ContentContr
• deleting CustomDocumentProperties
• Button is not getting removed after unin
• Still in need for help...
• Rapping button bar items...
• Connecting to a Remoting Server from an

Recommend Articles

• combobox in microsoft excel
• VSTO question
• Open Workbook
• How can I call a managed code extensions
• Problem using PIA interop Assemblies for
• deploying VSTO 2005 app on Office 2007 (
• Call VSTO Addin functions from external
• Required software to install on Web Serv
• Deployment problems with VSTO (Excel)
• Custom Numbering
• How to catch all unhandled exceptions
• Word automation from a Web Service
• Excel 2007 file saving
• project inclusion( assemblies) in vsto
• Sharepoint and caspol