- ©«¤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)
|
¦^´_ 1# yangjie - Option Explicit
- Sub Ex()
- Dim FileName As String, E As Workbook
- FileName = "D:\BOOK2.XLS"
- With CreateObject(FileName)
- '*** Åã¥Ü¬¡¶Ã¯¬O³o¼Ë¶Ü? *****
- .Windows(.Name).Visible = True
- '.Sheets(SHname).Cells.Copy wb.Sheets("Temp").Cells(1, 1)
- .Close True
- End With
- End Sub
- Sub ¥\¯à¦C()
- ¥\¯à¦C_Show True 'Åã¥Ü¥\¯à¦C
- Stop
- ¥\¯à¦C_Show False '¤£Åã¥Ü¥\¯à¦C
- End Sub
- Private Sub ¥\¯à¦C_Show(Msg As Boolean)
- With Application
- .DisplayFullScreen = Not Msg
- .CommandBars.ActiveMenuBar.Enabled = Msg
- End With
- End Sub
- Sub Sheets_ÁôÂÃ()
- Dim i As Integer
- With ActiveWorkbook
- .Protect Password:="1234", Structure:=True, Windows:=True '«OÅ@¬¡¶Ã¯ªº µ²ºc,µøµ¡
- .Unprotect Password:="1234" '¬¡¶Ã¯: ¸Ñ°£«OÅ@.
- For i = 2 To .Sheets.Count '¬¡¶Ã¯¦Ü¤Ön¦³¤@±i¤u§@ªí¬O¥i¨£ªº
- Sheet1.Visible = xlSheetVeryHidden 'È= 2 :vba ªº¤u§@ªíÁôÂÃ,»Ý¥Îvba ¨ú®ø¤u§@ªíÁôÂÃ
- Next
- .Protect Password:="1234", Structure:=True, Windows:=True
- End With
- End Sub
½Æ»s¥N½X |
|