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: 26
Default VB macro ascending & decending Alpha sorting on protected sheet

ok, come on guys. I know some one can help me with this. This is a repost in
hopes that some one can help. I am trying to
figure out how to allow a user to use the sort ascending and
sort descending options that are displayed when the user clicks the drop down
icon in a autofiltered cell. The other options (all, custom, top 10, blanks,
non blanks etc..) work just fine. I am only having trouble "turning on" the
ascending and descending sort options. Note that the worksheet IS protected.
Here is an excerpt of my code.....thanks in advance for the help! Note that
AutoFiltering is turned
on....

sub Workbook_Open()
Sheets("WORKLOG").Unprotect
..
..
..
do stuff.....
..
..
ActiveSheet.Protect DrawingObjects:=False, Contents:=True, Scenarios:= _
False, AllowSorting:=True, AllowFiltering:=True,
AllowUsingPivotTables:=True, AllowHyperlinks:=True
end sub


 
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 2003 VB macro for Alpha-Sorting on a protected sheet statum Excel Programming 0 June 15th 09 06:50 PM
Data ascending and decending Linda Excel Discussion (Misc queries) 3 March 16th 07 12:14 AM
sort data by criteria other than ascending or decending HV man Excel Worksheet Functions 1 March 29th 06 05:24 AM
Custom Filter that Displays All But in Ascending or Decending Orde Kim Excel Discussion (Misc queries) 3 September 14th 05 07:46 PM
Order Data in Pivot Table Non ascending or Decending [email protected] Excel Discussion (Misc queries) 1 June 3rd 05 01:00 PM


All times are GMT +1. The time now is 11:09 PM.

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"