- ©«¤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
|
¦^´_ 1# t8899 - Option Explicit
- Sub Ma3333()
- Dim A As Workbook
- Set A = Workbooks.Open("v:\program\supertsc\" & Format(Date, "eemmdd"))
- Workbooks.Open Filename:="a - 5.xls"
- 'Workbooks.Open Filename:="a - 5" & ".xls" '©Î¬O
- Workbooks("a - 5" & ".xls").Activate
- 'Workbooks("a - 5.xls").Activate '©Î¬O
- End Sub
- Sub Macro2() '1.°²¦p¶}ªºÀɮצs¦b«h¸õ¨ì123ªº»yªk¬O???
- '2¥u¯à¶}¨ì 1030401 , ±µ¤U¬O 1030399 ¤£¬O 1030331 ****¬Ý¤£À´???
- Dim k As Integer, A As String
- For k = 1 To 15
- A = "v:\program\supertsc" & "\" & Format(Date, "eemmdd") - k & ".xls" '§¹¾ãªº¸ô®|ÀɮצWºÙ
- If Dir(A) <> "" Then 'Àɮצs¦b«h Dir(A)¶Ç¦^ ÀɮצWºÙ
- Workbooks.Open A
- Exit For 'Â÷¶}¦^°é
- ' GoTo 123 '©Î¬O ¨ì 123
- End If
- Next
- 123:
- End Sub
½Æ»s¥N½X |
|