Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel 2000 AutoFilter and Worksheet protection

Hi, I am trying to use the VBA code given on the Microsoft website at
http://office.microsoft.com/en-us/as...982701033.aspx but cannot
get the code to work after several attempts. Does anybody else have any idea
on the code to use in Excel 2000 ?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Excel 2000 AutoFilter and Worksheet protection

If you name the procedure

Private Sub Workbook_Open()

as shown and place it in the ThisWorkbook module (as described), then when
you open the workbook without disabling macros, the code will run and allow
you to set filter criteria in a protected worksheet (the sheet with a
codename of Sheet1 in the example).

The catch is that the autofilter dropdowns must already be visible. To the
best of my recollection, this does not let you apply an autofilter from
scratch so to speak.


--
Regards,
Tom Ogilvy


"Phillo" wrote in message
...
Hi, I am trying to use the VBA code given on the Microsoft website at
http://office.microsoft.com/en-us/as...982701033.aspx but

cannot
get the code to work after several attempts. Does anybody else have any

idea
on the code to use in Excel 2000 ?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 131
Default Excel 2000 AutoFilter and Worksheet protection

I don't have a solution, but I can verify you that the
code given on the listed page does not seem to work in
Excel 2000 (unless there are some settings I am
overlooking).

-----Original Message-----
Hi, I am trying to use the VBA code given on the

Microsoft website at
http://office.microsoft.com/en-

us/assistance/HA010982701033.aspx but cannot
get the code to work after several attempts. Does anybody

else have any idea
on the code to use in Excel 2000 ?
.

Reply
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
Excel 2000 - Autofilter Limit NanoMark Excel Worksheet Functions 6 October 20th 06 12:35 AM
EXCEL PROTECTION 2000 [email protected] Excel Discussion (Misc queries) 2 June 27th 06 04:55 PM
2003 Shared Worksheet Protection Settings Failing For My 2000 User JWarnick-SHH Excel Worksheet Functions 0 March 17th 06 06:59 PM
How to Sort within AutoFilter with Protection on (and AutoFilter . giblon Excel Discussion (Misc queries) 1 February 16th 06 12:23 PM
Using AutoFilter with worksheet protection in 2000 vs. 2003 gncook Excel Discussion (Misc queries) 3 July 25th 05 08:02 PM


All times are GMT +1. The time now is 10:37 AM.

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

About Us

"It's about Microsoft Excel"