Dim ReValue As Date '声明时间变量 Dim name As String '声明字符串变量,软件名称 Dim dd As Variant '声明数值变量,dd为日期差 name = "gggg" '给变量赋值软件名为gggg
If dd = 0 Then '如果是第一天运行 MsgBox "软件已过期" MsgBox "软件可以试用" MsgBox "还剩下" & 30 - dd & "天试用期!"
|
|站长邮箱|小黑屋|手机版|Office中国/Access中国
( 粤ICP备10043721号-1 )
GMT+8, 2025-4-2 12:09 , Processed in 0.082499 second(s), 17 queries .
Powered by Discuz! X3.3
© 2001-2017 Comsenz Inc.