在工具箱-附加控件中找Microsoft date and time picker control,如果没有就是需要去下载一个文件MSCOMCT2.OCX 文件地址:mscomct2.ocx下载-mscomct2.ocx官方版下载[ActiveX插件]-华军软件园 (onlinedown.net) 下载压缩后,根据自己windows的版本是64位,所以将文件放置在C:Win
一、日期控件 日期选择器DTPicker 添加DTPicker控件 在工具箱-附加控件,找到Microsoft Date and Time Picker Control,version 6.0,点击“确认”就能添加到工具箱里。 如果没找到的话,需要安装对应系统位数的微软通用控件MSCOMCT2.OCX(具体操作可自行百度)。 点击下拉按钮,在日期列表中选择需要的日期。 常用的颜色设置如...
2 单击菜单中的“工具”→“附加控件”,在弹出的“附加控件”对话框中拖动右边的滚动条直至找到并选中“Microsoft Date And Time Picker Control”,然后单击确定。如下图所示:3 拖动“工具箱”中右边的上下滚动条,将可以看到新添加的日历控件,单击日历控件,即可将日历控件插入到用户窗体中。如下图所示 ...
在引用的过程中我是先直接浏览找到我第一步安装的插件C:\Windows\SysWOW64\MSCOMCT2.OCX,再去找到的Controls-2 6.0第三步:添加控件,找到Microsoft Date and Time Picker Control,verion 6.0,这里简称DTP吧,并点击它,使他变成选中状态“☒”,这里你看再看看控件工具箱上是不是多了个控件,没错就是DTP控...
Hi all, I am trying to get the Date and Time Picker control(DTp) in my userform. It doesn't show in the list. After a few researches and going through some forums, I also managed to download and register "MSCOMCT2.CAB", even after that, the control doesn't show up...
功能说明:双击“复合框”显示,再次双击隐藏。在日历上选择日期后,双击日历将选择的日期输入复合框。窗体打开后日历控件默认不显示。功能代码:Private Sub Calendar1_DblClick()Me.ComboBox1.Value = Me.Calendar1.Value Me.Calendar1.Visible = False End Sub Private Sub ComboBox1_DblClick(ByVal ...
Hi Everyone, I'm trying to make a userform in Excel VBA. I need to add a date picker. But that isn't available in the list of available tools (Not in additional tools list). I saw a tutorial on Youtu...Show More excel Macros and VBA Like 0 Reply ...
MonthViewmnvThis control allows the user to select a date (or time) using a large date control. MultiPagemlpThis control can be used to create a dialog box containing several tabs, allowing the user to switch between them. Presents multiple screens of information as a single set. ...
15. main画面需要放置microsoft date and time picker、microsoft datagrid、microsoft form 2.0 checkbox、microsoft form 2.0 optionbutton、microsoft processbar control 6.0、按钮、数字控件。 单选、复选控件不像wincc那样可以在编辑阶段就写caption属性值,可以在脚本里面初始化。
安装方法, 1. 将控件 MSCOMCT2.OCX 复制至windows\system\ (win98) 或 winnt\system32\ (win2000). 2. 运行 " REGSVR32 MSCOMCT2.OCX" 进行注册。 也可以直接双击运行Setup.bat批处理文件来进行。 在VB/VBA中添加控件,选择Microsoft Date and Time Picker Control,Version 6.0 ...