- ©«¤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
![2017 Âû¦~¥þ¶Ô¼ú³¹ 2017 Âû¦~¥þ¶Ô¼ú³¹](images/common/ji.gif) ![2016µU¦~¥þ¶Ô¼ú³¹ 2016µU¦~¥þ¶Ô¼ú³¹](images/common/hou.gif) ![2015¦Ï¦~¥þ¶Ô¼ú³¹ 2015¦Ï¦~¥þ¶Ô¼ú³¹](images/common/yang.gif) ![2014°¨¦~¥þ¶Ô¼ú³¹ 2014°¨¦~¥þ¶Ô¼ú³¹](images/common/ma.gif) ![2013³D¦~¥þ¶Ô¼ú³¹ 2013³D¦~¥þ¶Ô¼ú³¹](images/common/she.gif) ![2012Às¦~¥þ¶Ô¼ú³¹ 2012Às¦~¥þ¶Ô¼ú³¹](images/common/long.gif) ![½×¾Â°^Äm¾±³¹ ½×¾Â°^Äm¾±³¹](images/common/medal5.gif) ![¼ö¯P°Ñ»P¾±³¹ ¼ö¯P°Ñ»P¾±³¹](images/common/medal7.gif) ![2011¨ß¦~¥þ¶Ô¼ú³¹ 2011¨ß¦~¥þ¶Ô¼ú³¹](images/common/tu.gif)
|
¥»©«³Ì«á¥Ñ GBKEE ©ó 2012-6-1 07:25 ½s¿è
¦^´_ 3# alumi - '«Ø¥ß¤@¼Ò²Õ¦WºÙ¬°¥Dµ{¦¡¤ºªºµ{§Ç
- Option Explicit
- Private Sub Auto_Open() 'Àɮ׶}±Ò®É¦Û°Ê°õ¦æªºµ{¦¡
- Dim xlvbe As Variant, xlArray(), xlPath As String
- xlPath = "D:\¼Ò²Õ°Ï\" '¼Ò²Õ¦s©ñ¸ô¶i
- xlArray = Array("¼Ò²Õ1.bas", "¼Ò²Õ2.bas", "¼Ò²Õ3.bas") '°}¦C:§ó·sªº¼Ò²Õ
- With ThisWorkbook.VBProject
- For Each xlvbe In .VBComponents
- If xlvbe.Name <> "¥Dµ{¦¡" And xlvbe.Type = vbext_wt_Designer Then 'xlVba.Type = 1 ¼Ò²Õ
- .VBComponents.Remove xlvbe '²¾°£©Ò¦³¼Ò²Õ ¤£¥]§t"¥Dµ{¦¡"
- End If
- Next
- For Each xlvbe In xlArray
- If Dir(xlPath & xlvbe) <> "" Then .VBComponents.Import xlPath & xlvbe
- 'Import ¶×¤J¼Ò²Õ
- Next
- End With
- End Sub
½Æ»s¥N½X |
|