早上不發(fā)郵件? [金字塔]
- 咨詢內(nèi)容:
。。。。。。。。。。。。。
call application.SetTimer(3,1000)'1000毫秒掃一次
。。。。。。。。。。。。。
if id=3 then '發(fā)郵件
if weekday(now)<>1 and weekday(now)<>7 then
if cdate(time)="08:50:00" or cdate(time)="15:15:00" then
sendreport
end if
end if
end if不知道為什么只有下午發(fā)郵件,早上8.50不發(fā)郵件?
- 金字塔客服:
if cdate(time)="08:50:00" or cdate(time)="15:15:00" then
sendreportapplication.msgout "發(fā)了"
end if這樣加上調(diào)試代碼后看看早盤有沒有執(zhí)行到
- 用戶回復(fù):
如果下午也不能發(fā),我就認(rèn)了,問(wèn)題是下午能發(fā),上午不能發(fā)?
- 網(wǎng)友回復(fù):
"08:50:00" 也加上 Cdate,改為CDate(
"08:50:00")試試
- 網(wǎng)友回復(fù): Cdate,改為CDate( "08:50:00")后早上收到郵件了,謝謝斑竹,但為什么加上CDATE就可以呢?學(xué)習(xí)下
有思路,想編寫各種指標(biāo)公式,程序化交易模型,選股公式,預(yù)警公式的朋友
可聯(lián)系技術(shù)人員 QQ: 1145508240 進(jìn)行 有償 編寫!(不貴!點(diǎn)擊查看價(jià)格!)
相關(guān)文章
-
沒有相關(guān)內(nèi)容