- ©«¤l
- 2035
- ¥DÃD
- 24
- ºëµØ
- 0
- ¿n¤À
- 2031
- ÂI¦W
- 0
- §@·~¨t²Î
- Win7
- ³nÅ骩¥»
- Office2010
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-3-22
- ³Ì«áµn¿ý
- 2024-2-1
|
¥»©«³Ì«á¥Ñ c_c_lai ©ó 2016-9-8 19:59 ½s¿è
¦^´_ 76# v03586
§ä¨ìì¦]¤F¡C- Sub Main() ' ¨Ï¥Î Main µ{¦¡«e¡A »Ý¥ý«ü©w ¡yxDay¡z ªº¤é´Á
- Dim e As Variant, Rng As Range, cts As Integer ' , loc As String
-
- Set ¦^³ø¯Z§O = CreateObject("SCRIPTING.DICTIONARY")
- Set ¤Hû¦^³ø = CreateObject("SCRIPTING.DICTIONARY")
-
- ¤H¤O¸ê®ÆŪ¨ú
- Main_¦^³ø²M°£
-
-
- For cts = 1 To 2 ' ²Ä¤@¶¥¬q(cts=1)¥H¥¿±`¯Z§O¬°§PÂ_°ò·Ç¡F²Ä¤G¶¥¬q(2)«h¯Â¥H¥[¯Z¯Z§O¬°§PÂ_°ò·Ç¡C
- Main_¦^³ø¸ê®Æ (cts) ' 2016/09/01 Modied by C. C. Lai
-
- If ¦^³ø¯Z§O.Count = 0 Then
- Msg = True
- MsgBox Format(xDay, "YYYY¤ëMM¥÷ !") & " ¨S¦³¥X¶Ô¤Hû"
- Exit Sub
- End If
½Æ»s¥N½X ¦b²Ä¤G¶¥¬q¡A¦³¥i¯à¥þµL "©µªø¥[¯Z"¡A ¬GÀ³ÀH§Y¸õÂ÷¥»°õ¦æ¤¤¼Ò²Õ¡C
×¥¿¬°¡G- Sub Main() ' ¨Ï¥Î Main µ{¦¡«e¡A »Ý¥ý«ü©w ¡yxDay¡z ªº¤é´Á
- Dim e As Variant, Rng As Range, cts As Integer ' , loc As String
-
- Set ¦^³ø¯Z§O = CreateObject("SCRIPTING.DICTIONARY")
- Set ¤Hû¦^³ø = CreateObject("SCRIPTING.DICTIONARY")
-
- ¤H¤O¸ê®ÆŪ¨ú
- Main_¦^³ø²M°£
-
-
- For cts = 1 To 2 ' ²Ä¤@¶¥¬q(cts=1)¥H¥¿±`¯Z§O¬°§PÂ_°ò·Ç¡F²Ä¤G¶¥¬q(2)«h¯Â¥H¥[¯Z¯Z§O¬°§PÂ_°ò·Ç¡C
- Main_¦^³ø¸ê®Æ (cts) ' 2016/09/01 Modied by C. C. Lai
-
- If ¦^³ø¯Z§O.Count = 0 Then
- Msg = True
- [color=Red]If cts = 1 Then[/color]
- MsgBox Format(xDay, "YYYY¤ëMM¥÷ !") & " ¨S¦³¥X¶Ô¤Hû"
- [color=Red]ElseIf cts = 2 Then[/color] ' ¦b²Ä¤G¶¥¬q¡A¦³¥i¯à¥þµL "©µªø¥[¯Z"¡A ¬GÀH§Y¸õÂ÷¥»°õ¦æ¤¤¼Ò²Õ¡C
- [color=Red]Msg = False
- End If[/color]
- Exit Sub
- End If
½Æ»s¥N½X |
|