- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 255
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2024-11-25
|
¦^´_ 2# zaq370
mydate = DateAdd("m", -2, Date) '¤W¤W¤ë
wb = Format(mydate, "mmdd")
tt = Format(mydate, "mm")
fs = Dir(ThisWorkbook.Path & "\100" & tt & "\" & "NOC" + wb & ".xls")
Do Until fs <> ""
mydate = mydate + s
wb = Format(mydate, "mmdd")
tt = Format(mydate, "mm")
fs = Dir(ThisWorkbook.Path & "\100" & tt & "\" & "NOC" + wb & ".xls")
s = s + 1
Loop
With Workbooks.Open(fs) |
|