½Ð¦U¦ìÀ°§Ú¬Ý¬Ý§Ú³oÓ¨ç¼Æ¦³¤°»ò°ÝÃD?
- ©«¤l
- 214
- ¥DÃD
- 74
- ºëµØ
- 0
- ¿n¤À
- 296
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- office2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- hk
- µù¥U®É¶¡
- 2013-6-17
- ³Ì«áµn¿ý
- 2018-11-3
|
½Ð¦U¦ìÀ°§Ú¬Ý¬Ý§Ú³oÓ¨ç¼Æ¦³¤°»ò°ÝÃD?
¥Øªº>¦³5000Ó·sª©¥»excel¤å¥ó²VÂø¤@°_,·sª©¤å¥ó¦³"¤é³øªí P3"¶,¸Ó¶[A2]="Show"
ª©¤å¥ó¨½¨S¦³"¤é³øªí P3"¶.§Ún¥Î¦r¨å§â5000Ó¤å¥ó¤À¤@¤À·sª©
°õ¦æ¤@¤Utest,²Ä¤@¦¸°õ¦æn3¤ÀÄÁ,¬Æ¦Ün6¤ÀÄÁ,¦pªG¦A°õ¦æ¤@¦¸´N¥un1¤ÀÄÁ³Ì¦h2¤ÀÄÁ
´«±¼5000Ó¨ä¥L¤å¥ó,¤S¬O²Ä¤@¦¸3¤ÀÄÁ,¦A°õ¦æ¤@¦¸1¤ÀÄÁ´N§¹¦¨¤F
½Ð¦U¦ì¬Ý¬Ý,¨s³º°ÝÃD¦bþ¨à©O?ÁÂÁÂ!
sub test
dim d as new Dictionary
for each f in (5000Ó¤å¥óªºfullnameªº°}¦C)
d(f)=Benew(cstr(f))
next f
end sub
Function Benew(fl$) As Boolean
Dim Fname$, Fpath$, temp$, temp2
Fname = Mid(fl, InStrRev(fl, "\") + 1)''''¤å¥ó¦W
Fpath = Replace(fl, Fname, "") '''''''''''''¤å¥ó¸ô®|(±a\)
On Error Resume Next
temp = "'" & Fpath & "[" & Fname & "¤é³øªí P3'!R2C1"
temp2 = Application.ExecuteExcel4Macro(temp)
Benew = IIf(temp2 = "Show", True, False)
End Function |
|
lmh
|
|
|
|
|