Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have code were i am copy data from sheet1 to sheet2 with help of advance
filter. but after advance filter i want to delete some of the columns from sheet2 (i.e. from report) But it's depend on the report want so is there any way that what ever fields i have it will display on dialog box and i mark that column fields which i want to delete from the report sheet and it will delete that column from sheet. Is this is possible any help thanks in advance. Code is ..... Sub Reins() Sheets("Sheet2").Select Columns("a:az").Select Selection.Delete Sheets("Sheet2").Select Sheets("Sheet1").Range("A4:AL26").AdvancedFilter Action:=xlFilterCopy, _ CriteriaRange:=Sheets("Sheet1").Range("A1:AL2"), CopyToRange:=Range("A1"), _ Unique:=False End Sub ****al Shah |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I delete duplicate fields in Excell | Excel Discussion (Misc queries) | |||
How do I put a delete button on excel that will clear the fields? | Excel Worksheet Functions | |||
Dates in a coulmn?? | Excel Discussion (Misc queries) | |||
Delete All calculated fields | Excel Discussion (Misc queries) | |||
How to do two way lookup for more than 400 row & Coulmn? | Excel Worksheet Functions |