Private Sub click_取消_Click()
UserForm1.Hide
End Sub
Private Sub click_確定_Click()
Dim D55 As Integer
Dim D11 As Integer
Dim D21 As Integer
D11 = (ComboBox2.Value - ComboBox1.Value)
For D21 = 0 To D11
Worksheets("日報表").Cells(3, 10).Value = (D21 + ComboBox1.Value)
ActiveWindow.SelectedSheets.PrintOut COPIES:=1, COLLATE:=True
Next D21
UserForm1.Hide
End Sub
Private Sub ComboBox1_Change()
Dim D44 As Object
SETD44 = ComboBox1.Value
End Sub