Hi,
I have a worksheet full of data and wish to display all the rows of a certain catagory on a seperate sheet.
The problem is, there could be any number of rows in each catagory.
I know by Auto-filtering the data I can just show the data relateing to a specific catagory, but is it possible to show this filtered data on a seperate worksheet?
Thanks.
You can do it with "Advanced Filter"
It has a "copy to another location" option
regards pike
If the solution helped please donate here to the RSPCA
Sites worth visiting;
J&R Solutions - royUK
AJP Excel Information - Andy Pope
Spreadsheet Toolbox
VBA for smarties - snb
This will only let me copy to the same sheet, or am i doing something wrong?
true forgot about that
once you have filtered the data use like
Worksheets("Sheet1").Activate ActiveSheet.Cells.SpecialCells(xlCellTypeVisible).copy destination:= Worksheets("Sheet2").Range("A1")
regards pike
If the solution helped please donate here to the RSPCA
Sites worth visiting;
J&R Solutions - royUK
AJP Excel Information - Andy Pope
Spreadsheet Toolbox
VBA for smarties - snb
Thanks for this!
Have any problems attach a small workbook and we can refine the code/syntax
regards pike
If the solution helped please donate here to the RSPCA
Sites worth visiting;
J&R Solutions - royUK
AJP Excel Information - Andy Pope
Spreadsheet Toolbox
VBA for smarties - snb
you don't have to do anything but filter/select visible cells and copy paste to a new sheet
or use advanced filter
say your data is on sheet1 and so is your criteria range
select sheet2! then data/advanced filter
then select sheet1! put range and criteria range select copy to another location
it will then automatically switch back to sheet2! pick a cell click ok
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and a dabbler in Cisco
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
I knew Advance filter would do it just forgotten how
Thanks Martin
not enough wiki Mojito
regards pike
If the solution helped please donate here to the RSPCA
Sites worth visiting;
J&R Solutions - royUK
AJP Excel Information - Andy Pope
Spreadsheet Toolbox
VBA for smarties - snb
ahh but its the Guiness talking tonight lol
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and a dabbler in Cisco
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
One thing I miss about the UK is the Guiness on tap
regards pike
If the solution helped please donate here to the RSPCA
Sites worth visiting;
J&R Solutions - royUK
AJP Excel Information - Andy Pope
Spreadsheet Toolbox
VBA for smarties - snb
extra cold mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and a dabbler in Cisco
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks