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

DDE Â^¨ú¤ÀÄÁ³Ì°ª³Ì§C

DDE Â^¨ú¤ÀÄÁ³Ì°ª³Ì§C

ª©¤j±z¦n ·Q½Ð±Ð±z¦³ÃöDDE¨ú³Ì°ª¥H¤Î³Ì§C»ù®æªº¼gªk ¦bEXCELªí®æ¤¤ B5¬°DDEªº®É¶¡¿é¤J B6¬°DDEªº»ù®æ¿é¤J­Y·QÅý¥L¨C¤ÀÄÁ³£¯à§ì¥X³Ì°ª»P³Ì§C»ù®æÅã¥Ü¦bD8©ME8Ä椤¨Ã¨Ì§Ç¦V¤U  ¥BB5®É¶¡¿é¤Jªº³¡¤À¬O¸g¥Ñµ{¦¡­p¼Æ©ÒÅã¥Ü¥X¨Óªº¤£¬O¸g¥ÑDDEÁpµ²¡@·Q½Ð±Ð¤@¤U¸Ó«ç»ò¼g ³Â·Ð±z¤F ·PÁ±z!!

¦^´_ 24# hhh111

    °Ñ¦Ò³o¸Ì
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 3# GBKEE


    ½Ð°ÝGB¤j¡A¦pªG§Ú­nªº¬O¨C¨â¤ÀÄÁ©Î¬O¤­¤ÀÄÁªº¸Ü¤S¸Ó¦p¦ó­×§ï§r
¯à§_§iª¾¤@¤U¡AÁÂÁÂ

TOP

¦hÁÂGBKEEªº»¡©ú¡A¨ä¹ê«á¨Ó±NGB¤j¤À¨Éªº¶K¤JVB¤¤¡A¨Ã¥B³]©w¦nB5&6Äæ¦ì´N¥i¥H¥Î¤F
¬O¤p§Ì¥\¤O¤£¨¬ÁٽШ£½Ì

TOP

¦^´_ 21# hhh111

·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 3# GBKEE


    ©êºp¡A·Q­n½Ð±Ð¤@­Ó«Ü¥Õ·öªº°ÝÃD¡A¦]¬°³Ìªñ¥¿¦b¬ã¨s­n¦p¦óÅýEXCEL©T©w§ì¨úDDEªº¸ê®Æ
¦ý¬O°¾°¾¹ïVBA¤£¼ô,¦³¸Õªº±N¦U¦ìªº¤º®e¶K¤JVB½s¿è¾¹¤¤°õ¦æ¡A¥i¬O³£µLªk±Ò°Ê
¥i§_µy·L¸Ô²ÓÂI§iª¾¸Ó¦p¦ó´ú¸Õ

TOP

¥»©«³Ì«á¥Ñ c_c_lai ©ó 2013-6-27 06:55 ½s¿è
¦^´_  GBKEE
¦^´_  c_c_lai

·PÁ±jªÌª©¤j­Ì¤£§[ªº«ü¾É ­ì¨ÓDDE¬O³o¼Ë®É¶¡¤~µLªk±µÄò
¨º·Q½Ð±Ðª©¤j­Ì ...
vzcen µoªí©ó 2013-6-26 00:34

1. ¸Õ¸Õ¬Ý«Kª¾¾å¡I (¦]§A¬O¸ó¤éªº¡A ©Ò¥H±ø¥ó¶·¬° (±ø¥ó1 And ±ø¥ó2))
  1. Sub Test()
  2.     If Weekday(Date, vbMonday) > 6 Or (#9:00:00 PM# < #9:00:00 PM# And #9:00:00 PM# > #2:00:00 AM#) Then Exit Sub
  3.     '  If Weekday(Date, vbMonday) > 6 Or (#8:00:00 PM# < #9:00:00 PM# And #8:00:00 PM# > #2:00:00 AM#) Then Exit Sub
  4.    '  If Weekday(Date, vbMonday) > 6 Or (#12:00:00 AM# < #9:00:00 PM# And #12:00:00 AM# > #2:00:00 AM#) Then Exit Sub
  5.     '   If Weekday(Date, vbMonday) > 6 Or (#12:10:00 AM# < #9:00:00 PM# And #12:10:00 AM# > #2:00:00 AM#) Then Exit Sub
  6.    MsgBox "It's OK!"
  7. End Sub
½Æ»s¥N½X
2. 31¦æ ªº­×§ï¬O OK ¥i¦æªº!

TOP

¦^´_ 13# GBKEE
¦^´_ 16# c_c_lai

·PÁ±jªÌª©¤j­Ì¤£§[ªº«ü¾É ­ì¨ÓDDE¬O³o¼Ë®É¶¡¤~µLªk±µÄò
¨º·Q½Ð±Ðª©¤j­Ì ­Y´úÃÑDDEªº®É¶¡ ¬°©P¤@¦Ü©P¤»     9:00PM-¹j¤éªº2:00AM
§Ú¬O¤£¬O­n±Nµ{¦¡05¦æ§ï¦¨   If Weekday(Date, vbMonday) > 6 Or Time < #9:00:00 PM# Or Time > #2:00:00 AM# Then Exit Sub     '«DÀç·~¤é ©Î «DÀç·~®É¶¡
µM«á31¦æªº§ï¦¨ If Weekday(Date, vbMonday) <= 6 Then Range([C8], [E8].End(xlDown)).Clear 'Àç·~¤é
¥Ñ5§ï¦¨6¬O«ü§«ô¤@¦Ü¤»ªº·N«ä¶Ü?   ¨º®É¶¡ªº³¡¤À³o¼Ë§ï¬O¹ïªº¶Ü?
³Â·Ð¦U¦ì¤j¤j­Ì¸Ñ´b¤F  ÁÂÁ±z­Ì~

TOP

¦^´_ 17# handsometrowa
¨S¿ù
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 13# GBKEE


    ½Ð°Ýª©¥D
With Cells(Rows.Count, "C").End(xlUp)
        If .Row = 7 Then
            Set Rng = .Offset(1)  ½Ð°Ý³o¸Ìªº¥ÎªkÁÙ­ì:  Cells(Rows.Count, "C").End(xlUp).Offset(1)   ³o­Ó·N«ä¶Ü??
        Else
            Set Rng = .Cells       ½Ð°Ý³o¸Ìªº¥ÎªkÁÙ­ì:  Cells(Rows.Count, "C").End(xlUp).Cells   ³o­Ó·N«ä¶Ü?? ³o·|¤£Â_ªº¼W¥[Range ªº¤j¤p¬O¶Ü?
        End If
    End With

ÁÂÁ±zªº«ü¾É^^

TOP

        ÀR«ä¦Û¦b : ¶¢¤HµL¼Ö½ì¡A¦£¤HµL¬O«D¡C
ªð¦^¦Cªí ¤W¤@¥DÃD