![]() |
can I use a cell content as a Criteria1 reference in the below Selection.AutoFilter statement?
Hi..I am new to this group. I am self learing how to code macros. Here is my question can I use a cell content as a Criteria1 reference in the below Selection.AutoFilter statement? Selection.AutoFilter Selection.AutoFilter Field:=29, Criteria1:=Cells(29, 2) |
can I use a cell content as a Criteria1 reference in the below Sel
Yes
-- Regards, Tom Ogilvy "prady" wrote: Hi..I am new to this group. I am self learing how to code macros. Here is my question can I use a cell content as a Criteria1 reference in the below Selection.AutoFilter statement? Selection.AutoFilter Selection.AutoFilter Field:=29, Criteria1:=Cells(29, 2) |
All times are GMT +1. The time now is 04:54 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com