ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

½Ð°Ýª©¤W¤j¤j¡Aexcel¥i¥H°õ¦æ³oºØ¸ê®Æªº¼È¦s¶Ü??

¥»©«³Ì«á¥Ñ ÂŤÑÄR¦À ©ó 2015-2-7 10:05 ½s¿è

¦^´_ 9# GBKEE

©e¶R½æ¤ÀªR.rar (84.66 KB) ¦pªGG¤j¤è«Kªº¸Ü¥Î³o­Óªþ¥ó§ï¡A­ì¥»ªþ¥ó¸Ì­±ªºµ{¦¡¬O³]©w¤@©w®É¶¡¦V¤U½Æ»s¡A§Ú·Q­n±N¥\¯à§ï¦¨¥H¤U¨º¼Ë

    G¤j§Ú¤S¨Ó½Ð±Ð§A¤F¡A¦pªG­n¼g¤@­Óµ{¦¡±NB2:C101ªº­È¨C¬í¤@ª½­«·s½Æ»s¨ìD2:E101(¦]¬°¸ê®Æ·|¤@ª½ÅÜ°Ê¡A©Ò¥Hµ{¦¡­n¤@ª½°õ¦æ±q9:00°õ¦æ¨ì13:30¤À)¡A½Ð±Ð¤@¤UG¤j­n¦p¦ó¼g??(G¤j¥i¥H±N¨C¬í¼g¤Jªºµ{¦¡½X¶¶«K¼g¦b¸Ì­±¶Ü??¼g®É¶¡ªºµ{¦¡§Ú³£¤£¤Ó¼ô¡A·PÁÂ)

TOP

¦^´_ 11# ÂŤÑÄR¦À
¸Õ¸Õ¬Ý
  1. Sub ®É¶¡()
  2.     '±NB2:C101ªº­È¨C¬í¤@ª½­«·s½Æ»s¨ìD2:E101
  3.     With Sheets("rtd")
  4.         .[D2:E101].Value = .[B2:C101].Value
  5.     End With
  6.     '±q9:00°õ¦æ¨ì13:30¤À
  7.     If Time > #1:30:00 PM# Then Exit Sub '®É¶¡¤j©ó>1:30 Â÷¶}µ{¦¡
  8.     Application.OnTime Time + TimeValue("00:00¡G01"), "®É¶¡"
  9. End Sub
  10. Sub AUTO_OPEN() '¤@¯ë¼Ò²Õ ©óÀɮ׶}±Ò®É¦Û°Ê°õ¦æªºµ{¦¡
  11.     If Time <= #9:00:00 AM# Then   '9:00 ¤§«e
  12.         Application.OnTime TimeValue("09:00"), "®É¶¡"
  13.     ElseIf Time >= #9:00:00 AM# And Time <= #1:30:00 PM# Then '9:00 ~13:30 ¶¡
  14.         ®É¶¡   '
  15.     End If
  16. End Sub
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 12# GBKEE


    G¤j©êºp¡A¦pªG¬Oªþ¥ó§ïªº¸Ü¥»¨­¸Ì­±´N¦³³]©w®É¶¡¶}Ãö¤F¡A¨º½Ð±Ð¤@¤U­n«ç»ò§â¥H¤Uªº³¡¤À´«¦¨§Ú­nªºµ{¦¡¶Ü??
Sub RecordPrice()
Dim WR As Long
Dim I As Byte

WR = Range("A1").End(xlDown).Row + 1
[A2] = TimeValue(Now)
For I = 1 To 5
   Cells(WR, I) = Cells(2, I)
Next 'I
End Sub

TOP

¦^´_ 13# ÂŤÑÄR¦À
§A­nªº¤£¬O B2:C101ªº­È¨C¬í¤@ª½­«·s½Æ»s¨ìD2:E101
  1. Sub RecordPrice()
  2.     With Sheets("rtd")
  3.         .[D2:E101].Value = .[B2:C101].Value
  4.     End With
  5. End Sub
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 14# GBKEE


   ¹ïªü¡A§Ú¬Q¤Ñ±Nµ{¦¡§ï³o¼Ë¦n¹³¤£¯àrun¡A§Ú¦b¸Õ¸Õ¬Ý¦n¤F¡AÁÂÁÂG¤j

TOP

¦^´_ 5# GBKEE

G¤j¦n¤[¤£¨£¡A¦³ªÅªº¸Ü¥i¥HÀ°À°§Ú¶Ü??
    http://forum.twbts.com/thread-15967-1-1.html

TOP

¦^´_ 9# GBKEE

http://forum.twbts.com/thread-15967-1-1.html
G¤j§ÚªþÀɤF¡A¦A³Â·Ð©p¬Ý¬Ý¡AÁÂÁÂ

TOP

        ÀR«ä¦Û¦b : ¤H¥Í¤£¤@©w²y²y¬O¦n²y¡A¦ý¬O¦³¾ú½mªº±j¥´ªÌ¡AÀH®É³£¥i¥H´§´Î¡C
ªð¦^¦Cªí ¤W¤@¥DÃD