- ©«¤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
|
¥»©«³Ì«á¥Ñ GBKEE ©ó 2013-7-16 07:09 ½s¿è
¦^´_ 16# usana642 - Option Explicit
- Sub Auto_Open() '¶}Àɮɦ۰ʰõ¦æ¦¹¥¨¶°
- GetDDE '©I¥sµ{§Ç
- End Sub
- Sub GetDDE()
- Dim T As Date, A
- 'T = Now 'Now ¥]§t¤é´Á >1,,' T = Time '¥u¦³24¤p®Éªº¼ÆÈ <1
- '¿é¤J #9:00# ->¨t²Î¦Û°Ê¦¨ #9:00:00 AM#
- '¿é¤J #13:00# ->¨t²Î¦Û°Ê¦¨ #1:00:00 PM#
- '¿é¤J #00:05# ->¨t²Î¦Û°Ê¦¨ #12:05:00 AM# : 5¤ÀÄÁ
- '------ 1.¦A¥[¤J¥xªÑ©Î¬üªÑ¶}¦¬½L®É¶¡,¨Ó³]©w±µ¦¬®É¶¡
- If Time > #9:00:00 AM# And Time < #1:30:00 PM# Then '©ó¥æ©ö®É¶¡¤º
- If Not IsError(Sheets(1).[B2]) Then Sheets(2).[A65536].End(xlUp).Offset(1).Resize(, 7) = Sheets(1).[A2:G2].Value '¤u§@ªí1ªº¸ê®ÆDDE³sµ²¦¨¥\¼g¤J¤u§@ªí2
- '------ 2.±N±µ¦¬¶i¨Óªº¸ê®Æ®É¶¡×¥¿¬°" ¤ÀÄÁ¾ã¼Æ",¨Ò¦p 10:15:10 ---> 10:15:00
- End If
- T = Time + #12:00:30 AM# '--¶¡¹j30¬í---------
- 'T = Time + #12:01:00 AM# '--¶¡¹j1¤ÀÄÁ---------
- 'T = Time + #12:05:00 AM# '--¶¡¹j5¤ÀÄÁ---------
- Application.OnTime T, "GetDDE"
- End Sub
½Æ»s¥N½X |
|