【发布时间】:2015-01-30 06:36:26
【问题描述】:
如果我为文本框编写时间格式而不是当前时间,我一直在尝试寻找如何使某些事情发生。
所以不要这样:
If TextBox1.Text = Format(Now, "hh:mm") And TextBox2.Text = Format(Now, "MM/dd/yyyy") Or TextBox1.Text = Format(Now, "h:mm") And TextBox2.Text = Format(Now, "MM/dd/yyyy") Then
我希望它只检测到有时间格式和日期格式,这可以是任何时间和日期,重要的是它有时间和日期格式。
感谢您的帮助, VB10Guy
【问题讨论】: