村上舞!舞!舞 发表于 2005-10-31 08:46:15

急于求救:使用Robot写代码太长想换一行继续写要怎么办????

急于求救:使用Robot写代码太长想换一行继续写要怎么办????

我最近用GUI写一个简单的代码:
    Msgbox year(now)&month(now)&day(now) &Chr(13) & Hour(now)&Minute(now)&Second(now)&chr(10)&year(now)&month(now)&day(now)&Hour(now)&Minute(now)&Second(now)
这条代码太长了想换一行继续写请问高手一下怎么可以换一行。

ilovejolly 发表于 2005-10-31 09:21:48

换行符为"_"

比如:
Msgbox year(now)& _
month(now)&day(now) _
&Chr(13) & Hour(now)&_
Minute(now)&Second(now)_
&chr(10)&year(now)&month(now)_
&day(now)&Hour(now)&_
Minute(now)&Second(now)
页: [1]
查看完整版本: 急于求救:使用Robot写代码太长想换一行继续写要怎么办????