Forgot password?
 Register account
View 1184|Reply 4

wps的word能不能生成未来的时间?

[Copy link]

411

Threads

1618

Posts

110K

Credits

Credits
11808

Show all posts

abababa Posted 2018-1-3 12:50 |Read mode
版本是 wps 文字 10.8.0.5562
在插入里可以插入日期,然后自动更新,下次这段文字就会随电脑时间改变。
现在想插入一段文字,但是日期不是电脑的当前时间,而是当前时间加1年(例如今天是2018-01-03,就希望这段文字是2019-01-03),并且也想要每次打开时都随着电脑时间变化而变化。请教这个应该怎么做?

768

Threads

4685

Posts

310K

Credits

Credits
35004

Show all posts

isee Posted 2018-1-3 14:13
Last edited by isee 2018-1-3 14:23回复 1# abababa


    这要求也很奇怪,哈哈


    不过,office 中有 开发工具(这个默认菜单上没有)——控件——日期选择器内容控件,倒是可以插入任何一天,但是是否能自动更新就不知道了。

768

Threads

4685

Posts

310K

Credits

Credits
35004

Show all posts

isee Posted 2018-1-3 14:32
自查VB中的 DateAdd 函数

411

Threads

1618

Posts

110K

Credits

Credits
11808

Show all posts

 Author| abababa Posted 2018-1-3 19:40
回复 2# isee

日历当然能插入随意的一天,但是这样直接打字也可以,就不用自动生成了。这个的目的就是自动使用当前的时间,像签定合同之类的,当天签定,有效期一年,下次续签时间如果需要明确指出时,就可以用这个功能。

768

Threads

4685

Posts

310K

Credits

Credits
35004

Show all posts

isee Posted 2018-1-8 18:02
回复 2# isee


   经测试 控件 插入时间 不能自动更新。

Mobile version|Discuz Math Forum

2025-6-5 08:05 GMT+8

Powered by Discuz!

× Quick Reply To Top Edit