|
楼主 |
发表于 2019-11-13 11:17
|
显示全部楼层
Private Sub d33_Click()
Unload rili
UserForm1.TextBox1.Value = Format(Date, "yyyy/dd/mm")
DBUU = d33.Caption
MBUU = 0
CommandButton1_Click
End Sub
Private Sub d34_Click()
Unload rili
UserForm1.TextBox1.Value = Format(Date, "yyyy/dd/mm")
DBUU = d34.Caption
MBUU = 0
CommandButton1_Click
End Sub
Private Sub d35_Click()
Unload rili
UserForm1.TextBox1.Value = Format(Date, "yyyy/dd/mm")
DBUU = d35.Caption
MBUU = 0
CommandButton1_Click
End Sub
Private Sub d36_Click()
Unload rili
UserForm1.TextBox1.Value = Format(Date, "yyyy/dd/mm")
DBUU = d36.Caption
MBUU = 0
CommandButton1_Click
End Sub
Private Sub d37_Click()
Unload rili
UserForm1.TextBox1.Value = Format(Date, "yyyy/dd/mm")
DBUU = d37.Caption
MBUU = 0
CommandButton1_Click
End Sub
Private Sub d41_Click()
Unload rili
UserForm1.TextBox1.Value = Format(Date, "yyyy/dd/mm")
DBUU = d41.Caption
MBUU = 0
CommandButton1_Click
End Sub
Private Sub d42_Click()
Unload rili
UserForm1.TextBox1.Value = Format(Date, "yyyy/dd/mm")
DBUU = d42.Caption
MBUU = 0
CommandButton1_Click
End Sub
Private Sub d43_Click()
Unload rili
UserForm1.TextBox1.Value = Format(Date, "yyyy/dd/mm")
DBUU = d43.Caption
MBUU = 0
CommandButton1_Click
End Sub
Private Sub d44_Click()
Unload rili
UserForm1.TextBox1.Value = Format(Date, "yyyy/dd/mm")
DBUU = d44.Caption
MBUU = 0
CommandButton1_Click
End Sub
Private Sub d45_Click()
Unload rili
UserForm1.TextBox1.Value = Format(Date, "yyyy/dd/mm")
DBUU = d45.Caption
MBUU = 0
CommandButton1_Click
End Sub
Private Sub d46_Click()
Unload rili
UserForm1.TextBox1.Value = Format(Date, "yyyy/dd/mm")
DBUU = d46.Caption
MBUU = 0
CommandButton1_Click
End Sub
Private Sub d47_Click()
Unload rili
UserForm1.TextBox1.Value = Format(Date, "yyyy/dd/mm")
DBUU = d47.Caption
MBUU = 0
CommandButton1_Click
End Sub
Private Sub d51_Click()
Unload rili
UserForm1.TextBox1.Value = Format(Date, "yyyy/dd/mm")
DBUU = d51.Caption
MBUU = IIf(DBUU < 15, 1, 0)
CommandButton1_Click
End Sub
Private Sub d52_Click()
Unload rili
UserForm1.TextBox1.Value = Format(Date, "yyyy/dd/mm")
DBUU = d52.Caption
MBUU = IIf(DBUU < 15, 1, 0)
CommandButton1_Click
End Sub
Private Sub d53_Click()
Unload rili
UserForm1.TextBox1.Value = Format(Date, "yyyy/dd/mm")
DBUU = d53.Caption
MBUU = IIf(DBUU < 15, 1, 0)
CommandButton1_Click
End Sub
Private Sub d54_Click()
Unload rili
UserForm1.TextBox1.Value = Format(Date, "yyyy/dd/mm")
DBUU = d54.Caption
MBUU = IIf(DBUU < 15, 1, 0)
CommandButton1_Click
End Sub
Private Sub d55_Click()
Unload rili
UserForm1.TextBox1.Value = Format(Date, "yyyy/dd/mm")
DBUU = d55.Caption
MBUU = IIf(DBUU < 15, 1, 0)
CommandButton1_Click
End Sub
Private Sub d56_Click()
Unload rili
UserForm1.TextBox1.Value = Format(Date, "yyyy/dd/mm")
DBUU = d56.Caption
MBUU = IIf(DBUU < 15, 1, 0)
CommandButton1_Click
End Sub
Private Sub d57_Click()
Unload rili
UserForm1.TextBox1.Value = Format(Date, "yyyy/dd/mm")
DBUU = d57.Caption
MBUU = IIf(DBUU < 15, 1, 0)
CommandButton1_Click
End Sub
Private Sub d61_Click()
Unload rili
UserForm1.TextBox1.Value = Format(Date, "yyyy/dd/mm")
DBUU = d61.Caption
MBUU = IIf(DBUU < 15, 1, 0)
CommandButton1_Click
End Sub
Private Sub d62_Click()
Unload rili
UserForm1.TextBox1.Value = Format(Date, "yyyy/dd/mm")
DBUU = d62.Caption
MBUU = IIf(DBUU < 15, 1, 0)
CommandButton1_Click
End Sub
Private Sub d63_Click()
Unload rili
UserForm1.TextBox1.Value = Format(Date, "yyyy/dd/mm")
DBUU = d63.Caption
MBUU = IIf(DBUU < 15, 1, 0)
CommandButton1_Click
End Sub
Private Sub d64_Click()
Unload rili
UserForm1.TextBox1.Value = Format(Date, "yyyy/dd/mm")
DBUU = d64.Caption
MBUU = IIf(DBUU < 15, 1, 0)
CommandButton1_Click
End Sub
Private Sub d65_Click()
Unload rili
UserForm1.TextBox1.Value = Format(Date, "yyyy/dd/mm")
DBUU = d65.Caption
MBUU = IIf(DBUU < 15, 1, 0)
CommandButton1_Click
End Sub
Private Sub d66_Click()
Unload rili
UserForm1.TextBox1.Value = Format(Date, "yyyy/dd/mm")
DBUU = d66.Caption
MBUU = IIf(DBUU < 15, 1, 0)
CommandButton1_Click
End Sub
Private Sub d67_Click()
Unload rili
UserForm1.TextBox1.Value = Format(Date, "yyyy/dd/mm")
DBUU = d67.Caption
MBUU = IIf(DBUU < 15, 1, 0)
CommandButton1_Click
End Sub
Private Sub UserForm_Activate()
ComboBox1.Value = Year(Now())
ComboBox2.Value = Month(Now())
UserForm_Initialize
End Sub
Private Sub UserForm_DblClick(ByVal Cancel As MSForms.ReturnBoolean)
Unload rili
UserForm1.TextBox1.Value = Format(Date, "yyyy/dd/mm")
ComboBox1.Value = Year(Now())
ComboBox2.Value = Month(Now())
UserForm_Initialize
End Sub
Private Sub CommandButton2_Click()
Unload rili
UserForm1.TextBox1.Value = Format(Date, "yyyy/dd/mm")
ComboBox1.Value = Year(Now())
ComboBox2.Value = Month(Now())
UserForm_Initialize
End Sub
|
|