- ©«¤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# PKKO
¸Õ¸Õ¬Ý- Option Explicit
- Sub Ex()
- Dim Sh As Worksheet, S As String
- With ActiveWorkbook.Windows(1)
- 'Windows ÄÝ©Ê
- '¦pªG¬O Application ª«¥ó¡A«h·|¶Ç¦^ Windows ¶°¦X¡A¦¹¶°¦X¥Nªí©Ò¦³¬¡¶Ã¯¤¤ªº©Ò¦³µøµ¡¡C
- '¦pªG¬O Workbook ª«¥ó¡A«h¶Ç¦^ Windows ¶°¦X¡A¦¹¶°¦X¥Nªí«ü©w¬¡¶Ã¯¤¤ªº©Ò¦³µøµ¡¡C°ßŪ Windows ª«¥ó
- Sheets("Sheet2").Select
- 'Sheets(Array("Sheet1", "Sheet2")).Select
- 'Sheets(Array("Sheet3","Sheet2", "Sheet1")).Select
- For Each Sh In .SelectedSheets
- S = S & vbLf & Sh.Name
- Next
- MsgBox "¿ï¾Ü " & .SelectedSheets.Count & " ¤u§@ªí" & S & vbLf & vbLf & .ActiveSheet.Name & " §@¥Î¤¤ "
- 'SelectedSheets ÄÝ©Ê
- '½Ð°Ñ¾\®M¥Î¦Ü½d¨Ò¯S©w¶Ç¦^ Sheets ¶°¦X¡A¦¹¶°¦X¥Nªí«ü©wµøµ¡¤¤©Ò¦³¿ï©wªº¤u§@ªí¡C°ßŪ¡C
- End With
- End Sub
½Æ»s¥N½X |
|