Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm very new to marcos, so please be gentle....
I have a worksheet named Summary which uses Auto Filter (Non-Blanks). It's important that none of the formulas get messed up on this page, so I've protected it. Depending on data entered on other worksheets, rows on the Summary sheet may or may not be blank. I would like Summary to re-do the auto filter and remain protected everytime the workbook re-calculates. I tried recording a marco and here's what I've got so far. All help is appreciated. It says Active sheet, but Summary will hardly ever be the sheet I'm looking at when the workbook calculates. I only need it to affect the worksheet Summary. Thanks, Sub RefreshAutoFilter() ' ' RefreshAutoFilter Macro ' Macro recorded 10/9/2006 by sb1920alk ' ' ActiveSheet.Unprotect Selection.AutoFilter Field:=1, Criteria1:="<" ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Create refresh button in worksheet to refresh Pivot Table Data | Excel Worksheet Functions | |||
Refresh Autofilter | Excel Worksheet Functions | |||
Timing of automatic query refresh and macro pivot table refresh | Excel Programming | |||
Pivot Table REFRESH Flaw -- Saves Old Data in Selection Area AFTER REFRESH | Excel Programming | |||
Excel does not close from VB!! (when i refresh Refresh query with BackgroundQuery:=False) | Excel Programming |