wrote :: 2005.01.18
Sub Macro1()
Range("A1").Select
ActiveCell.FormulaR1C1 = "1"
Range("A2").Select
ActiveCell.FormulaR1C1 = "2"
Range("A3").Select
ActiveCell.FormulaR1C1 = "3"
Range("A4").Select
ActiveCell.FormulaR1C1 = "4"
Range("A5").Select
ActiveCell.FormulaR1C1 = "5"
Range("A6").Select
End Sub
| Test1 | Test2 | % | |
| 1回目 | 00:14 | 00:12 | 85.7% |
| 2回目 | 00:14 | 00:12 | 85.7% |
| 3回目 | 00:14 | 00:12 | 85.7% |
| 4回目 | 00:15 | 00:12 | 80.0% |
| 5回目 | 00:15 | 00:13 | 86.7% |
| 6回目 | 00:15 | 00:12 | 80.0% |
| 7回目 | 00:14 | 00:12 | 85.7% |
| 8回目 | 00:14 | 00:12 | 85.7% |
| 9回目 | 00:14 | 00:12 | 85.7% |
| 10回目 | 00:14 | 00:11 | 78.6% |
| 平均 | 00:14 | 00:12 | 83.9% |
Sub Test1()
Dim i As Integer, j As Integer
For i = 1 To 100
For j = 1 To 10
Cells(j, 1).Select
Selection.Value = j
Next j
Next i
End Sub
Sub Test2()
Dim i As Integer, j As Integer
For i = 1 To 100
For j = 1 To 10
Cells(j, 1).Value = j
Next j
Next i
End Sub
Sub Macro1()
ActiveSheet.ChartObjects("グラフ 1").Activate
ActiveChart.ChartArea.Select
With Selection.Interior
.ColorIndex = 3
.PatternColorIndex = 1
.Pattern = 1
End With
Windows("Book1.xls").Activate
Range("A1").Select
End Sub
Sub Macro1()
With ActiveSheet.ChartObjects("グラフ 1").ChartArea.Interior
.ColorIndex = 3
.PatternColorIndex = 1
.Pattern = 1
End With
''Windows("Book1.xls").Activate
''Range("A1").Select
End Sub
Sub Macro1()
Application.ScreenUpdating = False
ActiveSheet.ChartObjects("グラフ 1").Activate
ActiveChart.ChartArea.Interior.ColorIndex = 3
Range("A1").Select
Application.ScreenUpdating = True
End Sub