How to Add an Auto Filter to a Table in Excel.



How to Add an Auto Filter to a Table in Excel. When the list of values is extended in a table, this Auto Filter allows you to type in the Field name to select the data. The name also can be partial with a wild card so if you are not certain of the whole name a partial name with a * will bring up the desired results.
Check out my online courses

Code
Sub filterbyB()
Dim Data_sh As Worksheet

Set Data_sh = ThisWorkbook.Sheets(“Sheet2”)
Data_sh.AutoFilterMode = False
Data_sh.Range(“B4”).AutoFilter field:=1, Criteria1:=Data_sh.Range(“B1”).Value
‘Data_sh.AutoFilterMode = False
End Sub

Sub filterbyC()
Dim Data_sh As Worksheet

Set Data_sh = ThisWorkbook.Sheets(“Sheet2”)
Data_sh.AutoFilterMode = False
Data_sh.Range(“C4”).AutoFilter field:=2, Criteria1:=Data_sh.Range(“C1”).Value
‘Data_sh.AutoFilterMode = False
End Sub

For more help visit my website or email me at easyexcelanswers@gmail.com.

Contact me regarding customizing this template for your needs.

Excel one-on-one on-line training available. Email me to arrange.

I am able to provide online help on your computer at a reasonable rate.

Check out my next one-hour Excel Webinar

I use a Blue condensor Microphone to record my videos, here is the link

Check out Crowdcast for creating your webinars

If you need to buy Office 2019 follow

I use Tube Buddy to help promote my videos
Check them out

Follow me on Facebook

TWEET THIS VIDEO

Follow me on twitter
easyexcelanswers

IG @barbhendersonconsulting

You can help and generate a translation to you own language

*this description may contain affiliate links. When you click them, I may receive a small commission at no extra cost to you. I only recommend products and services that I’ve used or have experience with.

Watch more new videos about Excel Office | Synthesized by Mindovermetal English

5/5 - (1 bình chọn)

Bài viết liên quan

Theo dõi
Thông báo của
guest
1 Comment
Cũ nhất
Mới nhất Được bỏ phiếu nhiều nhất
Phản hồi nội tuyến
Xem tất cả bình luận
Barb Henderson

Thank you so much for Watching my video. If you have any suggestions for new topics, please leave them in the comments below