PC Review


Reply
Thread Tools Rate Thread

AutoFilter Macro Protected Sheet

 
 
JMC
Guest
Posts: n/a
 
      1st Oct 2009
Excel 2003: I am unprotecting/reprotecting an active sheet using a macro.
After running the macro the autofilter gets turned off. The autofilter is
not embedded in the macro. I tried to code: ActiveSheet.EnableAutoFilter
= True
but that does not seem to work. Any suggestions?
 
Reply With Quote
 
 
 
 
ryguy7272
Guest
Posts: n/a
 
      1st Oct 2009
Just turn on the macro recorder, apply the filter as you need it, and turn
off the macro recorder. Go look at the code that you just recorded.
Copy/paste the relevant part to the end of your existing macro, to the spot
right after you reapply the protection.

HTH,
Ryan---

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"JMC" wrote:

> Excel 2003: I am unprotecting/reprotecting an active sheet using a macro.
> After running the macro the autofilter gets turned off. The autofilter is
> not embedded in the macro. I tried to code: ActiveSheet.EnableAutoFilter
> = True
> but that does not seem to work. Any suggestions?

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Use autofilter with macro in a protected sheet Minos Microsoft Excel Misc 1 4th Aug 2009 03:44 PM
autofilter on a protected sheet Dave Unger Microsoft Excel Programming 6 6th Mar 2009 04:52 PM
Autofilter in protected sheet =?Utf-8?B?SmF2aWVy?= Microsoft Excel Worksheet Functions 5 24th Mar 2008 05:56 PM
Protected Sheet and AutoFilter =?Utf-8?B?U3RldmVu?= Microsoft Excel Programming 2 15th Sep 2006 02:13 AM
Re: Use Autofilter with a protected sheet Mike Harris Microsoft Excel Worksheet Functions 1 26th Sep 2003 06:06 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:18 AM.