- ©«¤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
|
¦^´_ 10# PKKO
Åܳq¤@¤U,¤@¦¸«Ø¥ß5Ó¦r¨åª«¥ó¬Ý¬Ý- Option Explicit
- Sub main_flow()
- Dim xd(0 To 4), i As Long, j As Long, Ok As Integer, E As Variant
- For i = 0 To 4
- Set xd(i) = CreateObject("SCRIPTING.DICTIONARY")
- '1¸UÓ¸¹½X¿é¤J5Óª«¥ó¤º
- For j = 1 To 10000
- xd(i)(j) = Empty
- Next
- Next
- Ok = 0
- Do While Ok < 5
- 'rng¬°¤@Ó¤£Â_Åܰʪº2ºû°}¦C
- '³oÃä¶}©l¤ñ¹ï©Ò¦³±ø¥ó,±N«½Æªº¸ê®Æ²¾°£±¼
- fn:
- If xd(Ok).Count < 9 Then Ok = Ok + 1
- For i = 1 To UBound(Rng, 2)
- For Each E In xd(Ok).KEYS
- If Rng(i, E) = True Then xd(Ok).Remove (E)
- If xd(Ok).Count < 9 Then GoTo fn
- Next
- Next
- If xd(Ok).Count = 9 Then Call output(xd)
- Loop
- End Sub
½Æ»s¥N½X |
|