Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
With Worksheets("sheet1")
if ComboboxCountry.Value < "" Then Selection.AutoFilter Field:=1, Criteria1:=Combocountry.Value Else if .AutofilterMode then .ShowAll End if End With -- Regards, Tom Ogilvy "DB100 " wrote in message ... Hi Tom Just to say thanks a grat deal...this has really helped. Just one last thing if I may, the code works perfectly as long as there is something selected in the combobox. If it is left blank ( to show all ) it errors. Can you help Thanks --- Message posted from http://www.ExcelForum.com/ |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Advanced Filter - filter rows < | Excel Discussion (Misc queries) | |||
Why won't advanced filter return filter results? | Excel Worksheet Functions | |||
How do I use advanced filter to filter for blank cells? | Excel Discussion (Misc queries) | |||
"Criteria Range" in the "Data/Filter/Advanced Filter" to select Du | Excel Worksheet Functions | |||
advanced filter won't allow me to filter on bracketed text (-456.2 | Excel Discussion (Misc queries) |