精華區beta Trading 關於我們 聯絡資訊
Sub DDE_Sec() If Time >= TimeValue("08:45:00") And Time <= TimeValue("13:45:00") Then For i = 1 to 18000 If i = 1 or ( Sheet1.Cells( i-1 , "B" ) <> Empty _ And Sheet1.Cells( i , "B" ) = Empty ) then Sheet1.Cells( i , "B" ) = Sheet1.Range("A1") End If Next End If Application.OnTime Now + TimeValue("00:00:01"), DDE_Sec End Sub ※ 引述《remark7 (倒數計時)》之銘言: : 請問如果在Excel的A1格是會隨時跳動的DDE資料 : 我想要從AM 8:45開始~PM 1:45結束 (可能AM 8:40開啟Excel 但要AM 8:45才開始記錄) : 每隔一秒將"A1"格的數字保存記錄在"B1"."B2"."B3"..."B18000" 當中 : 然後只要B行開始有數據 就自動繪出"B1"~"B18000"的連線圖 : 原PO不懂VBA 還請大家多多指教了 感謝大家 :) -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.45.235.63
ETHZ:推一個 03/07 22:21
HollisterCo:簡單 乾淨 易懂 03/07 23:41
thunderclap:抱歉想說不要發文佔版面@@ 請問您有推薦哪本參考書入 03/07 23:45
thunderclap:門vba嗎? 我純財金背景,不會寫程式想自修QQ 03/07 23:45
ssdog:推 03/08 07:49
jamesLD:找一些財工模型的書自學VBA就好了 不然就買Excel-VBA的書 03/08 10:30
jamesLD:小弟也是研所看書自學的 VBA不難的 03/08 10:31
youngswallow:"財金資訊系統建構實務"一書可參考 03/08 11:53
youngswallow:http://eduweb.sfi.org.tw/Course.aspx?id=5684 03/08 11:53
youngswallow:想找人一起參加 03/08 11:53
remark7:感謝 :) 03/08 16:20
thunderclap:謝謝各位! 03/08 18:51
Genki626:感謝分享 推一個 03/08 20:31
TKelevens:看到E老跟元氣大兩位推文小弟受精了 03/09 16:25
ckgegg: ^^^^ 03/10 08:34
jamesLD:~~~<> ~~~<> ~~~<> <>~~~ <>~~~ <>~~~ 03/10 16:54
Genki626:1TK大 別客氣 我們都是受精卵...(咦) ^_^ 03/10 20:12
saysorryap:推 03/13 13:03