µù¥U
µn¿ý
º¶
½×¾Âª©³W
¸T¤î¦Cªí
»¡©ú
¦a¹Ï
¼Æ¦ì®Ñ»
¨p¤H®ø®§ (0)
¤½¦@®ø®§ (0)
½×¾Â¥ô°È (0)
¨t²Î®ø®§ (0)
¦n¤Í®ø®§ (0)
©«¤l®ø®§ (0)
³Â»¶®a±Ú°Q½×ª©ª©
»
Excelµ{¦¡°Ï
» DDE¸ê®Æ§ì¨ú,³v®æÅã¥Ü°ÝÃD
 
1
2
ªð¦^¦Cªí
¤U¤@¥DÃD
¤W¤@¥DÃD
µo©«
DDE¸ê®Æ§ì¨ú,³v®æÅã¥Ü°ÝÃD
GBKEE
µoµu®ø®§
¥[¬°¦n¤Í
GBKEE
·í«eÂ÷½u
UID
16
©«¤l
5923
¥DÃD
13
ºëµØ
1
¿n¤À
5986
ª÷¿ú
5986
ÂI¦W
0
§@·~¨t²Î
win10
³nÅ骩¥»
Office 2010
¾\ŪÅv
150
©Ê§O
¨k
¨Ó¦Û
¥xÆW°ò¶©
¦b½u®É¶¡
4811 ¤p®É
µù¥U®É¶¡
2010-5-1
³Ì«áµn¿ý
2022-1-23
¶W¯Åª©¥D
©«¤l
5923
¥DÃD
13
ºëµØ
1
¿n¤À
5986
ÂI¦W
0
§@·~¨t²Î
win10
³nÅ骩¥»
Office 2010
¾\ŪÅv
150
©Ê§O
¨k
¨Ó¦Û
¥xÆW°ò¶©
µù¥U®É¶¡
2010-5-1
³Ì«áµn¿ý
2022-1-23
11
#
¸õÂà¨ì
»
µoªí©ó 2011-4-2 20:41
|
¥u¬Ý¸Ó§@ªÌ
¦^´_
10#
FAlonso
Private Sub MyDee()
Dim Sh As Worksheet, Rng As Range, ¥N¸¹ As String
Static Run_Time As Date
'Static ³¯z¦¡«Å§iªºÅܼơA¦bµ{¦¡°õ¦æ´Á¶¡¡A·|¤@ª½«O¯d¤º®e
' If Time > TimeValue("13:30") Then Exit Sub ' ¦¬½L®É¶¡«á °±¤î°õ¦æ
Set Sh = Sheets("¬ö¿ý")
¥N¸¹ = Sheets("¬ö¿ý").[C1]
Sh.Activate
With Sheets("¶×¤J").QueryTables(1)
.Connection = "URL;
http://tw.stock.yahoo.com/q/q?s=
" & ¥N¸¹
.Refresh False
If InStr(.ResultRange.Rows(3).Cells(1), ¥N¸¹) = 0 Then GoTo Refresh_Err:
Application.EnableEvents = False
Set Rng = Sh.Range("A" & Rows.Count).End(xlUp).Offset(1).Resize(1, .ResultRange.Columns.Count - 1)
Rng.Value = .ResultRange.Rows(3).Value
Application.EnableEvents = True
Rng.Select
End With
Run_Time = Now + TimeValue("00:00:10")
Application.OnTime Run_Time, "MyDee" '³]©w 10¬í«á °õ¦æ MyDee µ{§Ç
Exit Sub
Refresh_Err:
On Error Resume Next
Application.OnTime Run_Time, "MyDee", , False
'²M°£¥ý«e³]©wªºµ{§Ç
MsgBox "§ä¤£¨ì " & Sheets("¬ö¿ý").[C1] & " ªÑ²¼"
End Sub
TOP
FAlonso
µoµu®ø®§
¥[¬°¦n¤Í
FAlonso
·í«eÂ÷½u
UID
2608
©«¤l
135
¥DÃD
19
ºëµØ
0
¿n¤À
165
ª÷¿ú
165
ÂI¦W
0
§@·~¨t²Î
XP
³nÅ骩¥»
2003
¾\ŪÅv
20
©Ê§O
¨k
¨Ó¦Û
»´ä
¦b½u®É¶¡
67 ¤p®É
µù¥U®É¶¡
2010-12-9
³Ì«áµn¿ý
2012-8-27
¤¤¾Ç¥Í
©«¤l
135
¥DÃD
19
ºëµØ
0
¿n¤À
165
ÂI¦W
0
§@·~¨t²Î
XP
³nÅ骩¥»
2003
¾\ŪÅv
20
©Ê§O
¨k
¨Ó¦Û
»´ä
µù¥U®É¶¡
2010-12-9
³Ì«áµn¿ý
2012-8-27
12
#
µoªí©ó 2011-4-3 12:27
|
¥u¬Ý¸Ó§@ªÌ
¦^´_
11#
GBKEE
¦hÁ¸ѵª,¦ý¬°¤°»òn°µ³o¼Ëªº°Ê§@?
(1) ·íinstr(........,¥N¸¹) = 0,µ{¦¡·|¸õ¨ì³Ì«árefresh_err¦Ó¤£·|°µ¦¨«·s©I¥smydee,²{¦b«on¯S·N¥s°±?
(2) static¤@¦r,ªí±¬Ý¨ä¹ê¥Î©M¤£¥Î¤]¨S¤À§O. ¦]¬°«ÂйB¦æ, run_timeªºÈ¬Onow+timevalue("00:00:10"),§¹¥þ¤£»ÝÄ~©Órun_time¤§«eªº¼ÆÈ; ¤£«ÂйB¦æ,«K·|¬Oapplication ontime 0:00:00,mydee,,false,¤]¤£¥Î«e±ªºÈ. ¦ý¬O¤£¥Îstatic,´N¬O·|¥X²{°ÝÃD.
§Úªº²z¸Ñ¨s³º¨º¸Ìµo¥Í°ÝÃD?
80 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X
TOP
GBKEE
µoµu®ø®§
¥[¬°¦n¤Í
GBKEE
·í«eÂ÷½u
UID
16
©«¤l
5923
¥DÃD
13
ºëµØ
1
¿n¤À
5986
ª÷¿ú
5986
ÂI¦W
0
§@·~¨t²Î
win10
³nÅ骩¥»
Office 2010
¾\ŪÅv
150
©Ê§O
¨k
¨Ó¦Û
¥xÆW°ò¶©
¦b½u®É¶¡
4811 ¤p®É
µù¥U®É¶¡
2010-5-1
³Ì«áµn¿ý
2022-1-23
¶W¯Åª©¥D
©«¤l
5923
¥DÃD
13
ºëµØ
1
¿n¤À
5986
ÂI¦W
0
§@·~¨t²Î
win10
³nÅ骩¥»
Office 2010
¾\ŪÅv
150
©Ê§O
¨k
¨Ó¦Û
¥xÆW°ò¶©
µù¥U®É¶¡
2010-5-1
³Ì«áµn¿ý
2022-1-23
13
#
µoªí©ó 2011-4-3 14:33
|
¥u¬Ý¸Ó§@ªÌ
1 ¦b³oºô¶¬d¸ßªÑ²¼ªº¥N¸¹,InStr(.ResultRange.Rows(3).Cells(1), ¥N¸¹), ¬°¤ñ¹ï ¶×¤Jªº¸ê®Æ¬O§_¥]§tªÑ²¼ªº¥N¸¹
·í¦¹¨ç¼Æ¬°0
®Éªí¥Ü¨S¦³³oӪѲ¼¥N¸¹
2 ¤£¥Îstatic,´N¬O·|¥X²{°ÝÃD...
¤£¥Îstatic,¥i¦b¼Ò²Õ³Ì¤W¤è Dim Run_Time As Date ³]¬° ¼Ò²Õªº¨p¥ÎÅܼÆ.
TOP
lin
µoµu®ø®§
¥[¬°¦n¤Í
lin
·í«eÂ÷½u
UID
658
©«¤l
172
¥DÃD
2
ºëµØ
0
¿n¤À
230
ª÷¿ú
230
ÂI¦W
0
§@·~¨t²Î
winXP
³nÅ骩¥»
office 2007& office 2003
¾\ŪÅv
20
©Ê§O
¨k
¨Ó¦Û
Taiwan
¦b½u®É¶¡
88 ¤p®É
µù¥U®É¶¡
2010-6-23
³Ì«áµn¿ý
2017-10-28
¤¤¾Ç¥Í
©«¤l
172
¥DÃD
2
ºëµØ
0
¿n¤À
230
ÂI¦W
0
§@·~¨t²Î
winXP
³nÅ骩¥»
office 2007& office 2003
¾\ŪÅv
20
©Ê§O
¨k
¨Ó¦Û
Taiwan
µù¥U®É¶¡
2010-6-23
³Ì«áµn¿ý
2017-10-28
14
#
µoªí©ó 2011-4-16 22:52
|
¥u¬Ý¸Ó§@ªÌ
§Ú¬O¤@Ó·~¾lªÑ²¼±Ú,¦bºô¸ô¤W¤U¸ü¤@¨Ç¦³ÃöªÑ²¼ªºExcelµ{¦¡,Á`ı±o¤£§¹¥þ²Å¦XÓ¤H»Ý¨D,©Ò¥H¦³ªÅ§Ú·|קï©Î¥[±j¤U¸üµ{¦¡,¨ÑÓ¤H¨Ï¥Î,¦ý¦]©ÈIJ¥Ç´¼¼z°]²£Åv,©Ò¥H¤£´±°e¥L¤H¨Ï¥Î,¤]¤£´±¦bºô¸ô¤W¤½¶}.
Lin
TOP
ÀR«ä¦Û¦b :
¦³¦h¤Ö¤O¶q´N°µ¦h¤Ö¨Æ¡A¤£n¤ß¦sµ¥«Ý¡Aµ¥«Ý¤~·|¸¨ªÅ¡C
 
1
2
ªð¦^¦Cªí
¤U¤@¥DÃD
¤W¤@¥DÃD
EXCEL±MÄÝ°Q½×°Ï
Excel£¸¯ë°Ï
Excelµ{¦¡°Ï
¶i¶¥À³¥Î±M°Ï
OFFICE ¨t¦C
Word
PowerPoint
Access
Office¤£¤À°Ï
µ{¦¡»y¨¥
VB »P VB.Net
C »P C#
Java »P J#
µ{¦¡³]p¤£¤À°Ï
¸ê®Æ®w
ORACLE
My SQL
MS SQL
ºô¶³]p
ASP »P ASP.NET
PHP
PHP+MySQL ¤Jªù¹ê§@
JavaScript
FLASH / ActionScript
HTM/ HTML/ CSS
ºô¶³]p¤£¤À°Ï
¹q¸£»P§@·~¨t²Î
¹q¸£¦UºØµwÅé°Q½×
¤@¯ë¹q¸£³nÅé°Q½×
½×¾Â¨Æ°È
ºÞ²z¤½§i
§ë¶D¤Ï¬M
·s¤â´ú¸Õ
·R ¡E ¥Í¬¡
¤½¯q§G§iÄæ
¥Í¬¡»P·P°Ê
[¦¬Âæ¹¥DÃD]
[Ãöª`¦¹¥DÃDªº·s¦^´_]
[³q¹L QQ¡BMSN ¤À¨Éµ¹ªB¤Í]
¥Ó½Ð¤Í±¡Ãì±µ
Facebook¯»µ·