Excel 2013版,时间控制宏出现方法和数据成员未找到:代码如下,请高手指点
PrivateSubCalendar1_Click()ActiveCell=Calendar1.ValueEndSubPrivateSubDTPicker1_Callba...
Private Sub Calendar1_Click()
ActiveCell = Calendar1.Value
End Sub
Private Sub DTPicker1_CallbackKeyDown(ByVal KeyCode As Integer, ByVal Shift As Integer, ByVal CallbackField As String, CallbackDate As Date)
End Sub
ActiveCell = Calendar1.Value
Me.Calendar1.Visble = False
End Sub
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Column = 11 Then‘’第11列点击选择时间并输入
Me.Calendar1.Visible = True
Else
Me.Calendar1.Visible = False
End If
End Sub 展开
ActiveCell = Calendar1.Value
End Sub
Private Sub DTPicker1_CallbackKeyDown(ByVal KeyCode As Integer, ByVal Shift As Integer, ByVal CallbackField As String, CallbackDate As Date)
End Sub
ActiveCell = Calendar1.Value
Me.Calendar1.Visble = False
End Sub
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Column = 11 Then‘’第11列点击选择时间并输入
Me.Calendar1.Visible = True
Else
Me.Calendar1.Visible = False
End If
End Sub 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询