[Python-ideas] parameter omit

Aaron Brady castironpi at comcast.net
Mon May 14 00:50:55 CEST 2007



> -----Original Message-----
> From: Tal Einat [mailto:taleinat at gmail.com]
> Sent: Friday, May 11, 2007 7:15 PM
> >
> > MenuBarItem = MainMenuBar.Controls.Add(
> >     Office.MsoControlType.msoControlPopup,
> >     Type.Missing, Type.Missing, Type.Missing, true);

MenuBarItem = MainMenuBar.Controls.Add(
     *[Office.MsoControlType.msoControlPopup] +
     [Type.Missing]*3 + [true]);

> > Excel.Application excelApp = new Excel.ApplicationClass ();
> > Excel.Workbook thisWorkbook =
> > excelApp.Workbooks.Open(strFileName,Type.Missing, Type.Missing,
> > Type.Missing, Type.Missing,Type.Missing, Type.Missing,
> Type.Missing,
> > Type.Missing,Type.Missing , Type.Missing, Type.Missing,
> > Type.Missing,Type.Missing, Type.Missing);

Excel.Workbook thisWorkbook =
excelApp.Workbooks.Open( *[strFileName] + [Type.Missing]*14 );




More information about the Python-ideas mailing list