|    | 
     3行目の時速データ範囲を選択にいくと 
はじかれてエラー「Cellメソッドは失敗しました・・・」 
とでます。わかる方どうか教えてください。 
 
intLineSは選択開始行 
intLineEは選択終了行です。 
 
Charts.Add 
ActiveChart.ChartType = xlLine 'グラフは折れ線 
ActiveChart.SetSourceData Source:=Sheets("DISTANCE"). _ 
Range(Cells(intLineS, 16), Cells(intLineE, 16)), 
 _PlotBy:=xlColumns '時速データ範囲を選択 
ActiveChart.SeriesCollection(1).XValues = Sheets("DISTANCE"). _ 
Range(Cells(intLineS, 5), Cells(intLineE, 5)) '走行時間 
ActiveChart.SeriesCollection(1).Name = "=""時速""" 'データ系列名 
ActiveChart.Location Where:=xlLocationAsObject, Name:="日別グラフ表示"  
・ 
・ 
・ 
 | 
     
    
   |