ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] ·Q½Ð°Ý¤j®aExcel¨Ï¥Î¤U©Ô¦¡¿ï³æ«áª½±µ¸õ¨ì¸Ó±ø¥ó°Ï°ìªº¤èªk

·Q½Ð°Ý¤j®aExcelªº¤U©Ô¦¡¿ï³æ¥i¥Hµ²¦X¿z¿ï¶Ü?

¥»©«³Ì«á¥Ñ Lisa1 ©ó 2012-5-2 20:50 ½s¿è

½Ð°Ý¤j®a¦bExcel2007¸Ìªº¤U©Ô¦¡¿ï³æ¥i¥Hµ²¦X¿z¿ï¶Ü?
ªþÀɤ¤§Úªº¬õ¦âÀx¦s®æ¬O¤U©Ô¦¡¿ï³æ
¨º§Ú·Q­n¨Ì·Ó¤U©Ô¦¡¿ï³æ©Ò¿ï¨úªº¤ë¥÷¨Ó°µ¬°¸ê®ÆÅã¥Üªº¿z¿ï½Ð°Ý¸Ó¦p¦ó°µ¤~¦n©O?

½ÐÀ°¦£¡AÁÂÁÂ.zip (3.93 KB)
                                                                                                                                                         ÁÂÁÂ

TOP

¦^´_ 1# Lisa1
  1. Private Sub Worksheet_Change(ByVal Target As Range)
  2. If Target.Address <> "$A$1" Then Exit Sub
  3. Application.ScreenUpdating = False
  4. Rows.Hidden = False
  5. For Each a In Range([A2], [A65536].End(xlUp))
  6.    If a <> [A1] Then
  7.    a.EntireRow.Hidden = True
  8.    End If
  9. Next
  10. Application.ScreenUpdating = True
  11. End Sub
½Æ»s¥N½X
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

½Ð°Ýµ{¦¡½X¬O­n©ñ¦bexcelªº­þ¸Ì©O?
ÁÂÁÂ

TOP

¦^´_ 3# Lisa1

1.gif

TOP

¥»©«³Ì«á¥Ñ Lisa1 ©ó 2012-5-3 15:15 ½s¿è

¤£¦n·N«ä~¦A½Ð°Ý¤@¤U
¦pªG§ÚÁÙ¦³¤@­Ó¿ï¶µ¬O¥þ³¡(¿ï¤F¥H«á·|Åý¥þ³¡¸ê®Æ³£Åã¥Ü¥X¨Ó)
µ{¦¡½XÀ³¸Ó¥[¤W¤°»ò©O?
ÁÂÁÂ

TOP

¦^´_ 5# Lisa1
  1. Private Sub Worksheet_Change(ByVal Target As Range)
  2. If Target.Address <> "$A$1" Then Exit Sub
  3. Application.ScreenUpdating = False
  4. Rows.Hidden = False
  5. For Each a In Range([A2], [A65536].End(xlUp))
  6.    If a <> [A1] Then
  7.    a.EntireRow.Hidden = True
  8.    End If
  9. Next
  10. If Target = "¥þ³¡" Then Rows.Hidden = False
  11. Application.ScreenUpdating = True
  12. End Sub
½Æ»s¥N½X

TOP

¦^´_ 5# Lisa1
  1. Option Explicit
  2. Private Sub Worksheet_Change(ByVal Target As Range)
  3.     If Target.Address = "$A$1" Then
  4.         Target.AutoFilter field:=1, Criteria1:=Target, VisibleDropDown:=False
  5.         'AutoFilter ¤èªk  [¦Û°Ê¿z¿ï] ¿z¿ï¥X¤@­Ó²M³æ¡C¬° Variant¡C
  6.     End If
  7. End Sub
  8. Private Sub Worksheet_SelectionChange(ByVal Target As Range)
  9.     If Target.Address <> "$A$1" Then Me.AutoFilterMode = False
  10.       'Àx¦s®æ¦ì¸m¤£¬OA1  ¨ú®ø [¦Û°Ê¿z¿ï] ¥þ³¡¸ê®ÆÅã¥Ü
  11. End Sub
½Æ»s¥N½X

TOP

[µo°Ý] ·Q½Ð°Ý¤j®aExcel¨Ï¥Î¤U©Ô¦¡¿ï³æ«áª½±µ¸õ¨ì¸Ó±ø¥ó°Ï°ìªº¤èªk

·Q½Ð°Ý¤j®aExcel¨Ï¥Î¤U©Ô¦¡¿ï³æ«áª½±µ¸õ¨ì¸Ó±ø¥ó°Ï°ìªº¤èªk

¦pªG¿ï¾ÜDecªº¸Üµe­±´N¥i¥Hª½±µ¸õ¨ìDecªº¨º¤@¶ô¡A¦ý¨ä¥Lªº¸ê®Æ¤£·|ÁôÂÃ

½ÐÀ°¦£¡AÁÂÁÂ.rar (13.8 KB)

ÁÂÁÂ

        ÀR«ä¦Û¦b : ¡i®É¤é²öªÅ¹L¡j¤@­Ó¤H¦b¥@¶¡°µ¤F¦h¤Ö¨Æ¡A´Nµ¥©ó¹Ø©R¦³¦hªø¡C¦]¦¹¥²¶·»P®É¶¡Ävª§¡A¤Á²ö¨Ï®É¤éªÅ¹L¡C
ªð¦^¦Cªí ¤W¤@¥DÃD