Пример #1
0
 public static string MessageInStatusBar(
     [Parameter("The String ")] string Message
     )
 {
     XL._Application theApp = ExcelInstance.Instance();
     theApp.StatusBar = Message;
     return("--");
 }
Пример #2
0
 public static string MyAddress(
     [Parameter("x")] double x
     )
 {
     XL._Application theApp = ExcelInstance.Instance();
     XL.Range        range  = (XL.Range)theApp.get_Caller(System.Type.Missing);
     return(range.get_Address(System.Type.Missing, System.Type.Missing, XL.XlReferenceStyle.xlA1, System.Type.Missing, System.Type.Missing));
 }