Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
forgot to mention, the autofilter are manually done (not via a macro)
|
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
for each sh in ActiveWorkbook.Worksheets
sh.AutofilterMode = False Next Worksheets.Select Cells.Copy Cells.PasteSpecial xlPasteValues Worksheets(1).Buttons.Delete Cells(1).Select Worksheets(1).Select Application.CutCopyMode = False -- Regards, Tom Ogilvy "matthias" wrote: forgot to mention, the autofilter are manually done (not via a macro) |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
thanks for the reply, but I was not clear enough, my mistake
now the macro copies without problem, but the filters aren't applied in the new workbook (non blank cells filter) is this possible to be arranged regards, mat |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hi tom
is it not possible to run the autofilter for all new sheets once the data is copied to the new sheets something like for each sh in ... apply autofilter on a1:a11 with criteria:="<"?? thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VBA macro runs fine, but freezes if I try to do ANYTHING else whileit runs | Setting up and Configuration of Excel | |||
One macro runs then it auto runs another macro | Excel Discussion (Misc queries) | |||
Macro for filter on protected workbook that works for all sheets, no matter what sheets are named? | Excel Programming | |||
Unprotecting 4 sheets before "WorkbookOpen" macro runs | Excel Discussion (Misc queries) | |||
macro to filter sheets | Excel Programming |