Gunakan Fungsi KriteriaPilter
=KriteriaPilter(B2:C2,E2)
Function KriteriaPilter(ArrCol As Range, Col) As String
' Haps /10 jul 2011 /Modif UDF mbak siti /th2008
'-----------------------------------------------
Application.Volatile
Dim AFF As Object, i As Integer
Set AFF = ArrCol.Parent.AutoFilter.Filters
i = WorksheetFunction.Match(Col.Value, ArrCol, 0)
If AFF(i).On Then KriteriaPilter = Mid(AFF(i).Criteria1, 2, 99)
End Function
mohon diingat ejaannya: "KriteriaPilter"
sintaks-nya =KriteriaPilter(RangeBarisJudulKolom, JudulKolomYgDipilih)
best regards,
hapsari.
2011/7/8 Edo Hanggoro <edo_sp@yahoo.com>
> Dear para Master XL
> Mohon bantuannya, bagaimana cara menampilkan kriteria untuk auto filter pada cell yang lain (filenya terlampir)? terima kasih
| tiap tanggal gajian, order buku "mengapa boss benci chart anda |
| membludak :) ayo2 pesan yang belum punya.... |
| http://www.facebook.com/group.php?gid=37671048001&ref=mf |
+-------------------------------------------------------------------+
| DILARANG : MLM, money game, OOT, iklan tanpa izin, SARA, testing, |
| pembicaraan pribadi, one line message, melecehkan, tidak sopan. |
+-------------------------------------------------------------------+
| Buat subjek yang kreatif, jangan : "tanya", "help", "mohon bantu" |
| Usahakan besar attachment < 200 kb. Gunakan winzip jika perlu. |
+-------------------------------------------------------------------+
| Ajak teman-teman Anda bergabung dengan mengirim e-mail kosong ke |
| XL-mania-subscribe@yahoogroups.com atau kirimkan mereka file dari |
| http://groups.yahoo.com/group/XL-mania/files/Promotion/ |
+-------------------------------------------------------------------+
| Berikan testimoni di : http://www.friendster.com/xlmania atau... |
| http://www.xl-mania.com/2008/06/testimoni-xl-mania.html |
+-------------------------------------------------------------------+
| Message lama ada di : |
| http://groups.yahoo.com/group/XL-mania/messages [perlu yahoo id] |
| http://www.mail-archive.com/xl-mania@yahoogroups.com |
+-------------------------------------------------------------------+
Nenhum comentário:
Postar um comentário