将DateTimePicker添加到Userform [英] Adding DateTimePicker to Userform
本文介绍了将DateTimePicker添加到Userform的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用VBA代码将DateTimePicker添加到用户表单中。
How can I add a DateTimePicker to a User Form using VBA code.
类似于添加标签 -
Similar to adding a Label -
Dim TempForm As Object
Dim NewLabel as MSForms.Label
Set NewLabel = TempForm.Designer.Controls.Add("Forms.label.1")
推荐答案
其实我得到了这个问题在sidharth
Actually, I have got the answer from this question in the sidharth
这篇关于将DateTimePicker添加到Userform的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文