¼ÐÃD:
Åýµ{¦¡¦Û°Ê¿ëÃÑ
[¥´¦L¥»¶]
§@ªÌ:
myleoyes
®É¶¡:
2011-12-20 21:15
¼ÐÃD:
Åýµ{¦¡¦Û°Ê¿ëÃÑ
¦U¦ì«e½ú§A̦n!
«e½ú!!¤p§Ì¬O§Q¥Î[AE3]°Ñ·Ó¨ÓÅý
AA¶s¨ã¦³ÁôÂûP¨ú®ø¥\¯à
½Ð°Ý¬O§_¤]¥i¥H¦b¬Ù²¤[AE3]°Ñ·Ó
¤§¤UÅýAA¶s¤]¦P¼Ë¦³ÁôÂûP¨ú®ø¥\¯à
¤£ª¾µ{¦¡¬°¦ó?
½Ðª¾¹Dªº«e½ú,¤£§[½ç±ÐÁÂÁ¦A¤T!!
§@ªÌ:
myleoyes
®É¶¡:
2011-12-20 21:18
¦^´_
1#
myleoyes
¬p¶Õ°Õ!§Ñ¤Fªþµ{¦¡
Sub AA()
If [AE3] = "" Then
: [Z:AT].EntireColumn.Hidden = False : [AE3] = 1
ElseIf [AE3] = 1 Then [AE3] = "": [Z:AT].EntireColumn.Hidden = True
End If
[B7].Select
End Sub
§@ªÌ:
register313
®É¶¡:
2011-12-20 22:44
¦^´_
2#
myleoyes
¥ÎCheckBox¤Ä¿ï
Private Sub CheckBox1_Click()
If CheckBox1 = True Then
[Z:AT].EntireColumn.Hidden = False
Else: [Z:AT].EntireColumn.Hidden = True
End If
[B7].Select
End Sub
½Æ»s¥N½X
[attach]8864[/attach]
§@ªÌ:
myleoyes
®É¶¡:
2011-12-21 21:11
¦^´_
3#
register313
«e½ú!«D±`ªºÁÂÁÂ!!µ{¦¡¥i¥H
¦ýÀ³ÀÉ®×n°õ¦æªºµ{¦¡«Ü¦h
©Ò¥H«ö¶s¤]¤£¤Ö¦]¦¹¤p§Ì¥H¤U¦C¤è¦¡¨ú¥N«ö¶s
Private Sub Worksheet_SelectionChange(ByVal T As Range)
Select Case T(1).Address(0, 0)
Case "A2"
¤ÀªR
Case "B2"
ÁôÂûP¨ú®ø(AA¶s)
End Select
End Sub
¦]¦¹«e½ú©Ò±Ðªº¤è¦¡Áö¦n,
¥i¬O·|¯}ÃaìÀɮתº§¹¾ã©Ê
¬O§_½Ð«e½ú¨Ì¤W³¯¦C¤è¦¡
±Ð¾ÉAA¶s©O?µL²zªºn¨D¯u¬O¤£¦n·N«ä
½Ð¦A¨¯W§AÅo!ÁÂÁ¦A¤T!!
§@ªÌ:
register313
®É¶¡:
2011-12-21 23:00
¥»©«³Ì«á¥Ñ register313 ©ó 2011-12-21 23:05 ½s¿è
¦^´_
4#
myleoyes
¬O³o¼Ë¶Ü?
Private Sub Worksheet_SelectionChange(ByVal T As Range)
Select Case T.Address
Case "$A$2"
Call ¤ÀªR
Case "$B$2"
Call ÁôÂÃ
Case "$C$2"
Call ¨ú®øÁôÂÃ
Case Else
End Select
End Sub
½Æ»s¥N½X
Sub ¤ÀªR()
MsgBox "°õ¦æ¤ÀªRµ{¦¡"
End Sub
Sub ÁôÂÃ()
[Z:AT].EntireColumn.Hidden = True
End Sub
Sub ¨ú®øÁôÂÃ()
[Z:AT].EntireColumn.Hidden = False
End Sub
½Æ»s¥N½X
[attach]8891[/attach]
§@ªÌ:
GBKEE
®É¶¡:
2011-12-22 15:28
¦^´_
4#
myleoyes
¦ýÀ³ÀÉ®×n°õ¦æªºµ{¦¡«Ü¦h , ©Ò¥H«ö¶s¤]¤£¤Ö¦]¦¹¤p§Ì¥H¤U¦C¤è¦¡¨ú¥N«ö¶s
À³ªþÀɤW¨Ó¬Ý¬Ýµ{¦¡ªº³W«ß¦bþ¸Ì!!
§@ªÌ:
myleoyes
®É¶¡:
2011-12-22 21:54
¦^´_
5#
register313
«e½ú!«D±`ªºÁÂÁÂ!!
ªþÀɽЬݦ]¬°¸Ì±ªºµ{¦¡«Ü¦h
¤p§Ì©Ò¾Ç²ßªºµ{¦¡¤S¦³,¦]¦¹µ{¦¡·|Âø¶Ã¤£³ô
§Æ±æ±N¤£¥²nªº°Ñ·Ó©Î¦h¾lªº«ö¶s»Pµ{¦¡
¬Ù²¤³o¬O¤p§Ì·Qnªº
§@ªÌ:
myleoyes
®É¶¡:
2011-12-22 22:05
¦^´_
6#
GBKEE
¨}®v!¤[¹HÂP!ÁÂÁÂ!!
Àɮפwªþ¤W½Ð¬Ý»Ý¨D¦p¤W
ÁôÂûP¨ú®ø
§@ªÌ:
myleoyes
®É¶¡:
2011-12-22 22:10
¦^´_
5#
register313
«e½ú!¬p¶Õ!»°®É¤S§Ñ±¼!
§@ªÌ:
register313
®É¶¡:
2011-12-23 10:53
¦^´_
9#
myleoyes
¬Ý¤FÀÉ®×¹ê¦b¤£¤F¸Ñ§Anªº¥\¯à
¬O¤£¬O¦A»¡©ú²M·¡
§@ªÌ:
GBKEE
®É¶¡:
2011-12-23 17:37
¦^´_
9#
myleoyes
20~30ÓÀx¦s®æ¬Ò¬°«ö¶s
20~30ÓÀx¦s®æ¬O«üþùØ ?
½Ð§A»¡©ú¤@¤U³W«ß©Ê!
§@ªÌ:
myleoyes
®É¶¡:
2011-12-23 21:14
¦^´_
10#
register313
«e½ú!ÁÂÁÂ!!¥HÁôÂûP¨ú®ø¬°¨Ò
Sub ÁôÂÃ()
[Z:AT].EntireColumn.Hidden = True
End Sub
Sub ¨ú®øÁôÂÃ()
[Z:AT].EntireColumn.Hidden = False
End Sub
»ÝnÂI¿ï¨âÓ(«ö¶s)Àx¦s®æ¨Ó
¨Ó¹F¨ìÁôÂûP¨ú®øªº¥\¯à
Y¥[¤J[AE3]°Ñ·Ó´N¥i¥HÂI¿ï¦P¤@Àx¦s®æ
¦Ó¥Î«e½ú©Ò±Ð¾É¥ÎCheckBox¤Ä¿ï
¤è¦¡´N¥i¬Ù²¤[AE3]°Ñ·Ó¤£¬O§ó¦n¶Ü?
¦ý¬O¨Ì«e½úCheckBox¤Ä¿ï¤è¦¡
»Pì¨ÓÀÉ®×¥HÂI¿ïÀx¦s®æªº¤è¦¡
¬O¦³¨Ç®æ®æ¤£¤Jªº·Pı©O?
¦AÁ|¨Ò ±K½Xµ{¦¡
Sub ±K½X()
Again:
ZZ = Application.InputBox("¿é¤J±K½X", "½Ð¿é¤J¶}±Ò±K½X", Type:=1)
[AE2] = ZZ
If ZZ = False Then End
If ZZ = 0 Then End
If [AE1] <> [AE2] Then MsgBox "±K½X¿ù»~, ½Ð«·s¿é¤J ¡I¡I": GoTo Again
If [AE1] = [AE2] Then
[Z:AT].EntireColumn.Hidden = False
ActiveWindow.ScrollColumn = 15
End Sub
¤p§Ì¦]¬°¤£À´µ{¦¡¥u¯à¥Î¦¹²Â¤è¦¡¨Ó§@
¦]¦¹[AE1]»P[AE2]Àx¦s®æ´N¬O¦h¾lªº
Y¥H«e½úªº¥\¤OÀ³¸Ó¤£¶·n¥Î[AE1]»P[AE2]Àx¦s®æ
°µ¬°°Ñ·Ó·Ó¼Ë¥i¥H¹F¨ì±K½Xµ{¦¡¥\¯à¤£¬O¶Ü?
¥i§_¦A«ü¾É³oÓ±K½Xµ{¦¡«ç»ò¼g¤~¥¿½T©O?
¤£¦n·N«ä½Ð¦A¨¯W§AÅo!ÁÂÁ¦A¤T!!
§@ªÌ:
myleoyes
®É¶¡:
2011-12-23 21:43
¦^´_
11#
GBKEE
¨}®v!¥H½d¨ÒÀɪºSheet15¨Ó»¡
è¦n¦³40ÓÀx¦s®æ¬Ò¬°«ö¶s
¦U§O¤À°t±qA1:D4,E1,F1...µ¥µ¥¬Ò¬O
¥¦¨S¦³©Ò¿×ªº³W«ß©Ê¥u¬OÂI¿ïþ¤@Ó
Àx¦s®æ,þ¤@Óµ{¦¡´N°õ¦æ
·íµM°Õ!¦³¨Çµ{¦¡·|¤@Ó±µ¤@Ó°õ¦æ
¦Ü©Ò»Ýªºµ²ªG,³o¨Çµ{¦¡©Ò¼g¦nÅo!
¤]¥i¥H¶¶§Q°õ¦æ,¥u¬O¤Ó¦hªº°Ñ·Ó
»P«ö¶s±`±`·|§Ñ¤FÂI¿ïþ¤@Ó
Àx¦s®æ,¬O°õ¦æ¬Æ»ò¥ô°È¦ÓÀYµh«¢«¢!!
©Ò¥H½ÐÂI¿ïB1,¦rÅ馨¥¿±`ÃC¦â
¦AÂI¿ïB1,¦rÅéÅܦ¨ÁôÂæâ©ÒÅã¥Üªº´N¬O
µ{¦¡©Ò°õ¦æªº«ü¥O¦WºÙ,¦p¦¹¤@¨Ó
¤£ºÞÀɮ׸g¹L¦h¤[¨S¦³¨Ï¥Î¬Ò¥i¥H»´ÃPªº¾Þ§@
©Ò¥H´î¤Ö°Ñ·Ó»P«ö¶s´N·|¤ÖÀY¯k³o´N¬O¥»¦¸°Q½×ªºÄ³ÃDÁÂÁ¦A¤T!!
§@ªÌ:
GBKEE
®É¶¡:
2011-12-24 16:09
¦^´_
13#
myleoyes
¤Ó½ÆÂø¤F.
§@ªÌ:
myleoyes
®É¶¡:
2011-12-24 20:54
¦^´_
14#
GBKEE
¨}®v!¨¯WÅo!
³oÓ¨ú®øÁôÂõ{¦¡¤p§Ì¤w¸g§ä¨ì¦p¤U
Sub ¨ú®øÁôÂÃ()
Set myRng = [Z:AT]
With myRng.EntireColumn
.Hidden = Not .Hidden
End With
Set myRng = Nothing
[B7].Select
End Sub
ÁÂÁ¦A¤T!!
Åwªï¥úÁ{ ³Â»¶®a±Ú°Q½×ª©ª© (http://forum.twbts.com/)