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

§Q¥ÎVBA ªí³æ»s§@¸U¦~¾ä?

§Q¥ÎVBA ªí³æ»s§@¸U¦~¾ä?

·Q½Ð°Ý¦U¦ì¤j¤j
¦pªG§Ú·Q§Q¥ÎVBAªí³æ¥\¯à¨Ó»s§@¸U¦~¾ä
¦ý´N¬O¤£ª¾¹D¦p¦óµÛ¤â

ºô¸ô¤W¯à·j´M¨ìªº¸ê·½
³£¬O§Q¥Î¨ç¼Æ¦bSheet ¤W­±¹Bºâ
¦³¸Õ¹LÂಾ¨ìªí³æ¤W­±¥h°õ¦æ

«o¤£ª¾¹D¤Ö¤F¤°»ò
ªí³æªº°t¸m¦p¤U


§Æ±æ¦³°ª¤H«üÂI°g¬z¡A·P¿E¤£ºÉ>"<
Jared

¦^´_ 1# Jared


    1.¦L¶H¤¤¡A½×¾Â¦³ office±M¥Î¤ë¾äªþ¥ó... ¥i¥H§ä¬Ý¬Ý¡C
    2.¬O§_¦³¦Ò¼{ ¼í¦~ªº¼í¤G¤ë¡H(28 29)
    3.§e²{¤è¦¡¬°?? ³Bµo¤è¦¡¡H

  ¦h°µ¦h·Q¦h¾Ç²ß¡A¤Ö¬Ý¤Ö¿ù¤Ö°g³~

  ¦h°µ=¦h¦h½m²ß¡A¦h¦h½s¼g¡C
  ¦h·Q=·Q·Q¬°¤°»ò¤H®aµ{¦¡­n¨º¼Ë¼g¡A¦pªG´«¦¨¦Û¤v¡A¤S·|«ç¼g¡C
  ¦h¾Ç²ß=¾Ç²ß¤H®aªºµo°Ý¨Ã¸Ñµª¡A¾Ç²ß¤H®aªº¼gªk

  ¤Ö¬Ý=¥u¬Ý¤£°µ¤]ªPµM

TOP

¥»©«³Ì«á¥Ñ Jared ©ó 2013-3-25 15:59 ½s¿è

¦^´_ 2# mark15jill

·PÁ¤j¤j¦^ÂÐ:)
¦pªG¬O­n§Q¥Îªí³æ¦Û¦æ¼gµ{¦¡
³o¼Ë¥i¦æ¶Ü?
¦]¬°§Ú¦b©À®Ñ®É¦Ñ®v¦³±Ð¹L§Q¥ÎVB ¨Ó¼g¹L
¦ý¤w¸g¶ZÂ÷§Ú«Ü¤[¤F...

IJµo¤è¦¡
·í§Ú¿ï¾Ü¦~(A)¡B¤ë(B)«á
©³¤UªºÂI¿ï¼Æ¦r·|¯B²{¥X¨Ó
¤p©ó1 & ¤j©ó31·|ÁôÂð_¨Ó
·íµMÁÙ¦³¤ë¥÷¨S31¸¹ªº¤]ÁôÂÃ

¦Ü©ó¼í¤G¤ë(@@)..¦n¹³­n®M¤½¦¡¶i¥h
³o¼Ë¥i¦æ¶Ü??
Jared

TOP

¦^´_ 3# Jared






²©öª©¸U¦~¾ä
¦ý·|¦³  
1.   30 31 ªº§PÂ_°ÝÃD
2.   ¼í2¤ë°ÝÃD...
3.  ª«¥óÁôÂðÝÃD
¦ý¥H¤W°ÝÃD¬Û«H¨Ì·Ó±zªº¯à¤O¥i¦Û¤v¥h²K¥[

°õ¦æµe­±


  ¦h°µ¦h·Q¦h¾Ç²ß¡A¤Ö¬Ý¤Ö¿ù¤Ö°g³~

  ¦h°µ=¦h¦h½m²ß¡A¦h¦h½s¼g¡C
  ¦h·Q=·Q·Q¬°¤°»ò¤H®aµ{¦¡­n¨º¼Ë¼g¡A¦pªG´«¦¨¦Û¤v¡A¤S·|«ç¼g¡C
  ¦h¾Ç²ß=¾Ç²ß¤H®aªºµo°Ý¨Ã¸Ñµª¡A¾Ç²ß¤H®aªº¼gªk

  ¤Ö¬Ý=¥u¬Ý¤£°µ¤]ªPµM

TOP

¥»©«³Ì«á¥Ñ GBKEE ©ó 2013-3-25 20:34 ½s¿è

¦^´_ 4# mark15jill
¸Õ¸Õ¬Ý

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

TOP

¦^´_ 4# mark15jill


    ·PÁ¤j¤j¤j¤O¨ó§U
   µe­±¤W§e²{ªº¸ò§Ú¹w·Qªº¤@¼Ë(0¤f0)"
  ¬Ý¨Ó§Ú¯uªº­×¦æ¤£°÷><
  ­ì¥»§Úµ{¦¡¬O¼g³o¼Ë
   ¦ýµ{¦¡´N§PÂ_§ä¤£¨ìDAY_i.Caption ³o­Ó¦¨­û....
    Ä~Äò§V¤O¤¤...
Private Sub ComboBox2_Change()
If ComboBox1.ListIndex > -1 Then
    chang_day
    a = DateSerial(ComboBox1.Value, ComboBox2.Value, 1)         '¥»¤ë°_©l¤é
    b = DateSerial(ComboBox1.Value, ComboBox2.Value + 1, 1)     '¤U¤ë°_©l¤é
    c = DateSerial(ComboBox1.Value, ComboBox2.Value + 1, 1) - 1 '¥»¤ëµ²§ô¤é
    d = Weekday(TextBox1)                                       '²Ä¤@¤Ñ¦ì¸m
Else
   ComboBox2 = ""
End If
End Sub

Sub chang_day()
Dim i, j, x, y

y = DateSerial(ComboBox1.Value, ComboBox2.Value + 1, 1) - 1
For i = 1 To 42
x = DAY_i - Weekday(DateSerial(ComboBox1.Value, ComboBox2.Value, 1)) + (DAY_i - 3) * 7
DAY_i.Caption = x
Next
End Sub
Jared

TOP

¦^´_ 6# Jared
¦ýµ{¦¡´N§PÂ_§ä¤£¨ìDAY_i.Caption ³o­Ó¦¨­û....
¨S¦³Àɮ׬ݤ£¨ì DAY_i ¬O¦p¦ó³]©wªº,¬O³o¼Ë¶Ü?
  1. Controls("DAY_" & I).Caption
½Æ»s¥N½X
¦^´_ 4# mark15jill

¹Ï¤ù¤Wªºµ{¦¡½X,»Ý­n¦³¦n²´¤O¤~¬Ýªº¨ì,¦ó¤£¥N½X¶K¤W¨Ó
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 5# GBKEE


    (0¤f0)...·Q½Ð°Ý¤j¤j
    ¬°¤°»òµe­±¤@¶}©l³£¨SªF¦è?
    ¬O¦b­þ¤@¦æµ{¦¡«Å§iÁôÂéO?
    µ{¦¡¤¤ «Å§i ¦n¦h¨S¨£¹Lªº»yªk(@@)...
Jared

TOP

¦^´_ 7# GBKEE


    ¦^ÂФj¤j
    DAY_i ¬O¦p¦ó³]©wªº?
    DAY_i ´N¬OOptionButton1 ÄÝ©ÊNAME §ï¦¨DAY_1 ~42
       
¬O·Q§Q¥ÎFor °j°é¥h­pºâ
³Ì«á¦b¥[¤W§PÂ_¦¡
­pºâ¥X¨Óªº¼Æ¦r¤p©ó1©Î¤j©ó31´NÁôÂð_¨Ó
¦ý´N¬O¶]¤£¹L¥d¦b³o¸Ì

    ­è­è§Q¥Î¤j¤jªº¦^Âе{¦¡½X¦¨¥\¤F(^¤f^)
     ¤£¹L«oÅܦ¨¦P¤@ºØ¼Æ¦r....(u_u)
      
Jared

TOP

¦^´_ 7# GBKEE


    ©çÁÂ..  ¦]¬°·Q»¡©ç¦¨¤@±i ¤ñ¸û¬ÙªÅ¶¡...
¤U¦¸·|§ï«Ø...

  ¦h°µ¦h·Q¦h¾Ç²ß¡A¤Ö¬Ý¤Ö¿ù¤Ö°g³~

  ¦h°µ=¦h¦h½m²ß¡A¦h¦h½s¼g¡C
  ¦h·Q=·Q·Q¬°¤°»ò¤H®aµ{¦¡­n¨º¼Ë¼g¡A¦pªG´«¦¨¦Û¤v¡A¤S·|«ç¼g¡C
  ¦h¾Ç²ß=¾Ç²ß¤H®aªºµo°Ý¨Ã¸Ñµª¡A¾Ç²ß¤H®aªº¼gªk

  ¤Ö¬Ý=¥u¬Ý¤£°µ¤]ªPµM

TOP

        ÀR«ä¦Û¦b : ¤H­nª¾ºÖ¡B±¤ºÖ¡B¦A³yºÖ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD