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

[µo°Ý] Ãö©óAutoFilterªººÃ°Ý

[µo°Ý] Ãö©óAutoFilterªººÃ°Ý

ActiveSheet.UsedRange.AutoFilter 1, ">=" & TextBox1

·íTextBox1Áä¤J 2012/6/1  ¥L¯à·j´M  2012/6/1  ¥H«áªº¤é´Á
·íTextBox1Áä¤J 6/1 ¥L¯à·j´M 2012/6/1  ¥H«áªº¤é´Á

ActiveSheet.UsedRange.AutoFilter 1, "=" & TextBox1

·íTextBox1Áä¤J 2012/6/1  ¥L¯à·j´M  2012/6/1  ³o­Ó¤é´Á
·íTextBox1Áä¤J 6/1 ¥L«o"µLªk"·j´M 2012/6/1  ³o­Ó¤é´Á

¦Ó¬O·j´M¤£¨ì¡A½Ð°Ý¦³¤Hª¾¹D³o¬O¤°»ò­ì¦]¶Ü?
§Ú¸Ó¦p¦ó
·íTextBox1Áä¤J 6/1 Åý¥L"¯à"·j´M 2012/6/1  ³o­Ó¤é´Á

¦^´_ 1# av8d

ActiveSheet.UsedRange.AutoFilter 1, ">=" & DateValue(TextBox1)
ActiveSheet.UsedRange.AutoFilter 1, "=" & DateValue(TextBox1)

TOP

¦^´_ 2# register313


    ¤j¤j±z¦n~¦]¬°§Ú¨Ï¥Îªº¬O¦Û­qªí³æ
Private Sub TextBox1_Change()
    ActiveSheet.UsedRange.AutoFilter 1, "=" & DateValue(TextBox1)
    If TextBox1.Value = "" Then ActiveSheet.Range("$A$1:$E$1").AutoFilter Field:=1
    ActiveWindow.LargeScroll Down:=-1
End Sub

·|¥X²{"«¬ºA¤£²Å¦X"ªº¿ù»~

TOP

¦^´_ 3# av8d

¿é¤Jtextbox1«á,¦A«öCommandButton1
  1. Private Sub CommandButton1_Click()
  2. If TextBox1.Value = "" Then
  3.    ActiveSheet.Range("$A$1:$E$1").AutoFilter Field:=1
  4. Else: ActiveSheet.UsedRange.AutoFilter 1, "=" & DateValue(TextBox1)
  5. End If
  6. End Sub
½Æ»s¥N½X

TOP

        ÀR«ä¦Û¦b : ¡i¥Í©R¦b©I§l¶¡¡j¦òªû»¡¡G¡u¥Í©R¦b©I§l¶¡¡C¡v¤HµLªkºÞ¦í¦Û¤vªº¥Í©R¡A§óµLªk¾×¦í¦º´Á¡AÅý¦Û¤v¥Ã¦í¤H¶¡¡C¬JµM¥Í©R¥h¨Ó³o»òµL±`¡A§Ú­Ì§óÀ³¸Ó¦n¦n¦a·R±¤¥¦¡B§Q¥Î¥¦¡B¥R¹ê¥¦¡AÅý³oµL±`¡BÄ_¶Qªº¥Í©R¡A´²µo¥¦¯uµ½¬üªº¥ú½÷¡A¬M·Ó¥X¥Í©R¯u¥¿ªº»ù­È¡C
ªð¦^¦Cªí ¤W¤@¥DÃD