- ©«¤l
- 835
- ¥DÃD
- 6
- ºëµØ
- 0
- ¿n¤À
- 915
- ÂI¦W
- 14
- §@·~¨t²Î
- Win 10,7
- ³nÅ骩¥»
- 2019,2013,2003
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-3
- ³Ì«áµn¿ý
- 2024-11-6
|
¦U¦ì«e½ú§A̦n!
«e½ú!!»Ý¨D¦p°Êµe©Ò¥Ü!
¦]¬°Äæ¼Æ¤£¬q¼W¥[©Ò¥H¤£¯à¥Î¿ý»s¤è¦¡
...
myleoyes µoªí©ó 2012-8-29 12:03 - Sub ¤ÀªRÁôÂÃ()
- Dim iCols%, iI%, vCol
-
- [B3].Select
- ActiveWindow.FreezePanes = False
- iCols = Cells(2, Columns.Count).End(xlToLeft).Column
- Set vCol = Range(Cells(3), Cells(5))
- iI = 8
- Do
- Set vCol = Application.Union(vCol, Range(Cells(iI), Cells(iI + 2)))
- iI = iI + 4
- Loop Until iI > iCols
- vCol.EntireColumn.Hidden = True
-
- '[C:E,H:J,L:N,P:R,T:V,X:Z].EntireColumn.Hidden = True
-
- [G3].Select
- ActiveWindow.FreezePanes = True
- End Sub
- Sub ¸ê®ÆÁôÂÃ()
- Dim iCols%, iI%, vCol
-
- [B3].Select
- ActiveWindow.FreezePanes = False
- iCols = Cells(2, Columns.Count).End(xlToLeft).Column
- Set vCol = Application.Union(Cells(2), Cells(4), Cells(5), Cells(7))
- iI = 9
- Do
- Set vCol = Application.Union(vCol, Range(Cells(iI), Cells(iI + 2)))
- iI = iI + 4
- Loop Until iI > iCols
- vCol.EntireColumn.Hidden = True
-
- '[B:B,D:E,G:G,I:K,M:O,Q:S,U:W,Y:AA].EntireColumn.Hidden = True
-
- [H3].Select
- ActiveWindow.FreezePanes = True
- End Sub
½Æ»s¥N½X ¨ä¥Lªº¥un°Ñ·Ó¤Wzµ{¦¡¤º®e¾A·íªº®M¥Î§Y¥i§¹¦¨,
³o¸Ì´N¤£¦A¦C¥X¨ÓÅo. |
|