Hi Ron,
Thanks, this work great. I need two more modification in the excellent codes
of yours.
Is it also possible to have the header include, my source files headers in
on row 2. I have tried to modify the below to include a header but was
unsucessful.
' Set a range without the Header row
Set rng = .Resize(.Rows.Count - 1,
..Columns.Count). _
Offset(1,
0).SpecialCells(xlCellTypeVisible)
In addition, I would like the new workbook name as "Utility" rather than
"Sheet1".
Embarrass to say that I could not find the codes that mentioned naming the
workbook as "Sheet1"
Thank you for your assistance
regards, francis
"Ron de Bruin" wrote:
Hi franciz
For others this is the code page (last example)
http://www.rondebruin.nl/copy3.htm
We can add one line
Replace this:
sourceRange.AutoFilter Field:=FilterField, _
Criteria1:=SearchValue
With:
'Filter the range on the FilterField column
sourceRange.AutoFilter Field:=FilterField, _
Criteria1:=SearchValue
sourceRange.AutoFilter Field:=3, Criteria1:="<"
--
Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm
"franciz" wrote in message ...
Hi all
I am using the the codes in Merge a range from all workbooks in a folder
with AutoFilter provided by Ron de Bruin
Is it possible to have two auto filters enable in the codes? if tes,
How do I write the additional syntax to filter for NonBlanks rows in column
C given that the current codes provided wrote as :
FilterField = 2
SearchValue = "Y"
Thanks for your assistance
regards, francis