Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Have a spreadsheet with advanced filter, that copies the result to another
sheet. Won't work with sheet-protection enabled. Anyone knows how to unprotect the target sheet prior to the automated copying, and then protecting the sheet again, to avoid user-error...? other suggestions? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Maybe,
Sub protectmenot() Worksheets("Sheet3").Unprotect Password:="mypass" 'do you stuff Worksheets("Sheet3").Protect Password:="mypass" End Sub Mike "Kjetil" wrote: Have a spreadsheet with advanced filter, that copies the result to another sheet. Won't work with sheet-protection enabled. Anyone knows how to unprotect the target sheet prior to the automated copying, and then protecting the sheet again, to avoid user-error...? other suggestions? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Perfect! Thank a lot!
BR Kjetil "Mike H" wrote: Maybe, Sub protectmenot() Worksheets("Sheet3").Unprotect Password:="mypass" 'do you stuff Worksheets("Sheet3").Protect Password:="mypass" End Sub Mike "Kjetil" wrote: Have a spreadsheet with advanced filter, that copies the result to another sheet. Won't work with sheet-protection enabled. Anyone knows how to unprotect the target sheet prior to the automated copying, and then protecting the sheet again, to avoid user-error...? other suggestions? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Advanced filter to another sheet | Excel Discussion (Misc queries) | |||
Help wanted for Advanced filter/sheet protection | Excel Worksheet Functions | |||
Using Advanced Filter w/o having to set focus on the sheet | Excel Programming | |||
Advanced Filter vs. Macro for deleting dup rows in sheet | Excel Programming | |||
Advanced Filter to another sheet | Excel Programming |