LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default VBA Macro With User Protection Settings

Hello, all.

I have a protected spreadsheet that uses auto-filter drop downs and a
set of allowed user settings. I needed a macro to unprotect the
sheet, reset all the filter fields, then protect the sheet again. I
was successful in entering code to accomplish all this using
"Auto_Open" and "ActiveSheet.Unprotect Password:="yaddayadda".

However, when the sheet is protected again, the additional allowable
user settings like insert rows, sort, use auto filter, etc. that was
setup in the original sheet are wiped out.

Is there a way to force the allowable user settings within the same
macro? Thank you for your help!
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I copy my protection settings from 1 workbook to another? Bunnski Excel Worksheet Functions 1 September 11th 08 12:55 AM
Why are the protection settings disappearing when I run my macro? Stephanie Excel Worksheet Functions 2 March 22nd 07 04:58 PM
Protection settings not holding the_real_ptb Excel Discussion (Misc queries) 1 August 16th 06 07:25 PM
Schedule a macro with user defined settings Matt Excel Programming 6 June 24th 06 01:29 AM
2003 Shared Worksheet Protection Settings Failing For My 2000 User JWarnick-SHH Excel Worksheet Functions 0 March 17th 06 06:59 PM


All times are GMT +1. The time now is 06:43 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"