1.  
  2. // The following code shows the same call to AutoFormat in C# 4.0. Only
  3. // the argument for which you want to provide a specific value is listed.
  4. excelApp.Range["A1", "B4"].AutoFormat( Format: myFormat );
  5.