View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Brent Rogers Brent Rogers is offline
external usenet poster
 
Posts: 3
Default New Name Dialog parameters

I would like to programatically call the "New Name Dialog" box for a given
name.

Microsoft.Office.Interop.Excel.Dialog D =
ExcelApp.Dialogs[Microsoft.Office.Interop.Excel.XlBuiltInDialog.xlD ialogNewName];

D.Show(System.Reflection.Missing.Value, System.Reflection.Missing.Value
,System.Reflection.Missing.Value, System.Reflection.Missing.Value
,System.Reflection.Missing.Value, System.Reflection.Missing.Value
,System.Reflection.Missing.Value, System.Reflection.Missing.Value
,System.Reflection.Missing.Value, System.Reflection.Missing.Value
.... );

Which of the many parameters to the Show() method corresponds to the [New]
range name?
Is there any thing I should do before passing the data in.