C coscka Unregistered / Unconfirmed GUEST, unregistred user! 2005-12-29 #4 var Cell1,Cell2:variant; ...//略 Cell1:=ExcelApp.ActiveSheet.Cells.item[1,5]; Cell2:=ExcelApp.ActiveSheet.Cells.item[1,10]; ExcelApp.ActiveSheet.Range[Cell1,Cell2].Interior.ColorIndex:=15; //黑色 ... end
var Cell1,Cell2:variant; ...//略 Cell1:=ExcelApp.ActiveSheet.Cells.item[1,5]; Cell2:=ExcelApp.ActiveSheet.Cells.item[1,10]; ExcelApp.ActiveSheet.Range[Cell1,Cell2].Interior.ColorIndex:=15; //黑色 ... end