Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
hi all dears
i need your helps I use following mocro: Sheets("Sheet1").Select Selection.AutoFilter Field:=6, _ Criteria1:="=" & Range("Sheet2!A1").Value I need to filter(All) by putting a value in cell ("Sheet2!A1"). Thanks. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try this way:
Selection.AutoFilter Field:=6, _ Criteria1:="=" & Sheets("Sheet2").Range("A1").Value Regards, Stefi €žnader€ť ezt Ă*rta: hi all dears i need your helps I use following mocro: Sheets("Sheet1").Select Selection.AutoFilter Field:=6, _ Criteria1:="=" & Range("Sheet2!A1").Value I need to filter(All) by putting a value in cell ("Sheet2!A1"). Thanks. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thank you for reply
what value i put in cell "A1"? "Stefi" wrote: Try this way: Selection.AutoFilter Field:=6, _ Criteria1:="=" & Sheets("Sheet2").Range("A1").Value Regards, Stefi €žnader€ť ezt Ă*rta: hi all dears i need your helps I use following mocro: Sheets("Sheet1").Select Selection.AutoFilter Field:=6, _ Criteria1:="=" & Range("Sheet2!A1").Value I need to filter(All) by putting a value in cell ("Sheet2!A1"). Thanks. |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
HI Stefi
it works well. any thanks. nader "Stefi" wrote: Try this way: Selection.AutoFilter Field:=6, _ Criteria1:="=" & Sheets("Sheet2").Range("A1").Value Regards, Stefi €žnader€ť ezt Ă*rta: hi all dears i need your helps I use following mocro: Sheets("Sheet1").Select Selection.AutoFilter Field:=6, _ Criteria1:="=" & Range("Sheet2!A1").Value I need to filter(All) by putting a value in cell ("Sheet2!A1"). Thanks. |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You are welcome! Thanks for the feedback!
Stefi €žnader€ť ezt Ă*rta: HI Stefi it works well. any thanks. nader "Stefi" wrote: Try this way: Selection.AutoFilter Field:=6, _ Criteria1:="=" & Sheets("Sheet2").Range("A1").Value Regards, Stefi €žnader€ť ezt Ă*rta: hi all dears i need your helps I use following mocro: Sheets("Sheet1").Select Selection.AutoFilter Field:=6, _ Criteria1:="=" & Range("Sheet2!A1").Value I need to filter(All) by putting a value in cell ("Sheet2!A1"). Thanks. |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
HI Stefi
when i filter(all) by your macro it don't show blanks. is possible it show blanks too? it is important for me. thanks "Stefi" wrote: You are welcome! Thanks for the feedback! Stefi €žnader€ť ezt Ă*rta: HI Stefi it works well. any thanks. nader "Stefi" wrote: Try this way: Selection.AutoFilter Field:=6, _ Criteria1:="=" & Sheets("Sheet2").Range("A1").Value Regards, Stefi €žnader€ť ezt Ă*rta: hi all dears i need your helps I use following mocro: Sheets("Sheet1").Select Selection.AutoFilter Field:=6, _ Criteria1:="=" & Range("Sheet2!A1").Value I need to filter(All) by putting a value in cell ("Sheet2!A1"). Thanks. |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
The VBA equivalent of choosing All from Autofilter dropdown list is:
Selection.AutoFilter Field:=6 It must unhide all cells, including blanks. If you have other problem, give more details! Regards, Stefi €žnader€ť ezt Ă*rta: HI Stefi when i filter(all) by your macro it don't show blanks. is possible it show blanks too? it is important for me. thanks "Stefi" wrote: You are welcome! Thanks for the feedback! Stefi €žnader€ť ezt Ă*rta: HI Stefi it works well. any thanks. nader "Stefi" wrote: Try this way: Selection.AutoFilter Field:=6, _ Criteria1:="=" & Sheets("Sheet2").Range("A1").Value Regards, Stefi €žnader€ť ezt Ă*rta: hi all dears i need your helps I use following mocro: Sheets("Sheet1").Select Selection.AutoFilter Field:=6, _ Criteria1:="=" & Range("Sheet2!A1").Value I need to filter(All) by putting a value in cell ("Sheet2!A1"). Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Filter date in macro | Excel Discussion (Misc queries) | |||
how can this filter be done in a macro? | Excel Discussion (Misc queries) | |||
Do i use a filter or a macro? | Excel Discussion (Misc queries) | |||
macro to filter out data | Excel Worksheet Functions | |||
Need a filter macro | Excel Discussion (Misc queries) |