- ©«¤l
- 913
- ¥DÃD
- 150
- ºëµØ
- 0
- ¿n¤À
- 1089
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- office 2019
- ¾\ŪÅv
- 50
- ©Ê§O
- ¤k
- µù¥U®É¶¡
- 2011-8-28
- ³Ì«áµn¿ý
- 2023-7-19
|
¥»©«³Ì«á¥Ñ PJChen ©ó 2022-1-5 19:47 ½s¿è
¦U¦ì¤j¤j¦n,
½Ð±Ð....
Å禬³æ¸ê®Æ.xlsx 쥻¬O¦b¹q¸£¤¤ªºD:
¦ý³Ìªñ¤½¥q§ï¥ÎNAS,·í²¾°ÊÀÉ®×®É,·|¥X²{¹ï¸Ü®Ø,
ĵ§iÀÉ®×¥i¯à¦³®`,¬O§_¤´n¨Ï¥Î¥¦?
³o·|¨Ïµ{¦¡µLªkÄ~Äò,
¦ý¬O¥Î°Å¤U>>¶K¤W,«h¤£·|¦³Äµ§i¥X²{¡I
½Ð°Ý¥H¤Uµ{¦¡,¦p¦ó§ï¦¨ °Å¤U>>¶K¤Wªº¼gªk
©ÎªÌ¦³¨ä¥L¼gªk¨Ïµ{¦¡¤£¤¤Â_¡H- Sub Å禬³æÂkÀÉ()
- Dim fds As Object, PH$, xPH$, FN$, i$, xD As Worksheet
- Application.ScreenUpdating = False
- Application.DisplayAlerts = False
- Set xD = ThisWorkbook.Sheets("VBA") 'µ{¦¡¨Ó·½
- i = Format(Date, "yyyymmdd")
- PH="\\192.......\ÜÀx\Å禬³æ\"
- xPH = "\\192......\ÜÀx\Å禬³æ\ÂkÀÉ\"
- Set fds = CreateObject("Scripting.filesystemobject")
- FN = Dir(PH & "*" & Å禬³æ¸ê®Æ & "*" & i & "*" & ".XLS*") '¨Ó·½¸ê®Æ§¨¤ºªºÀɮצW
- '-------------
- If fds.FileExists(xPH & FN) Then Kill xPH & FN '¦pªGÀɮפw¸g¦s¦b´N¥ý§R°£ÀÉ®×
- fds.movefile PH & FN, xPH '²¾°ÊÀɮרì¥Ø¼Ð¸ê®Æ§¨
½Æ»s¥N½X |
|