wrote :: 2005.01.18
Sub Macro1()
With Selection.Font
.Name = "MS Pゴシック"
.FontStyle = "太字"
.Size = 11
.Strikethrough = False
.Superscript = False
.Subscript = False
.OutlineFont = False
.Shadow = False
.Underline = xlNone
.ColorIndex = xlAutomatic
End With
End Sub
| Test1 | Test2 | % | |
| 1回目 | 00:31 | 00:03 | 9.7% |
| 2回目 | 00:32 | 00:03 | 9.4% |
| 3回目 | 00:31 | 00:03 | 9.7% |
| 4回目 | 00:31 | 00:03 | 9.7% |
| 5回目 | 00:31 | 00:03 | 9.7% |
| 6回目 | 00:31 | 00:03 | 9.7% |
| 7回目 | 00:30 | 00:03 | 10.0% |
| 8回目 | 00:31 | 00:03 | 9.7% |
| 9回目 | 00:30 | 00:03 | 10.0% |
| 10回目 | 00:30 | 00:03 | 10.0% |
| 平均 | 00:31 | 00:03 | 9.7% |
Sub Test1()
Dim i As Integer, j As Integer
For i = 1 To 100
For j = 1 To 10
With Cells(j, 1).Font
.Name = "MS Pゴシック"
.FontStyle = "太字"
.Size = 11
.Strikethrough = False
.Superscript = False
.Subscript = False
.OutlineFont = False
.Shadow = False
.Underline = xlNone
.ColorIndex = xlAutomatic
End With
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).Font.FontStyle = "太字"
Next j
Next i
End Sub
Sub Macro2()
Selection.Font.Bold = True
End Sub
Sub Macro3()
Columns("C:C").Select
Selection.Delete Shift:=xlToLeft
End Sub
Sub Macro4()
Selection.EntireColumn.Delete
End Sub