Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default how to sort in a protected worksheet.

Glad you found a solution.

Another option would be to do the resizing in code.

The line that adds the rectangle and sets its dimensions can be changed to this:

Set myRect = .Parent.Shapes.AddShape _
(Type:=msoShapeRectangle, _
Top:=.Top, Height:=.Height, _
Width:=.Width / 2, Left:=.Left)



Lisa wrote:

Aha cracked it - with my sheet unprotected, I could right click on the cell
and see the rectangle

Thanks

"Lisa" wrote in message
...
Hi Dave

How can I make the rectangles visible in order to resize them (or perhaps
the size is in the code somewhere?)

Just wanted to say also, thanks so much for sharing that code, as a
beginner (on a very fast track) it resulted in a huge breakthrough for
what I am out to achieve.


"Dave Peterson" wrote in message
...
The rectangle floats over that cell (including the dropdown arrow). So
you
really never got to the arrow.

Maybe you could resize the rectangle so that it only uses the left half
of the
cell.

Lisa wrote:

Hi

I have followed this excellent article for giving users the ability to
sort
a protected worksheet,

http://www.contextures.com/xlSort02.html

However, I have a problem in that I have the autofilters saved within
the
worksheet, and this piece of code conflicts with them - if I select a
drop
down arrow on the filter, it sorts the column as in the macro rather
than
giving me the drop down list.

How can I get around this? If I can crack this, I will have made a big
breakthrough in my quest

Thanks in advance

"clm" wrote:

i have a large worksheet with over 500 rows and 50 columns that needs
to be
sent out to a large audience. how can I allow the worksheet to be
sorted
while it is protected? i have tried protecting only certain columns
of data
and tried to sort, but it only allows me to sort only the columns that
are
not protected and the data in each row entry isn't "expanded" the
sort.
--
/clm

--

Dave Peterson




--

Dave Peterson
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
How to sort protected worksheet in Excel 07? Doesn't work. jbachaud Excel Worksheet Functions 1 June 1st 07 06:43 PM
How do I sort a protected worksheet? Audrey Excel Discussion (Misc queries) 0 July 18th 06 08:31 PM
Sort Columns in Protected Worksheet, etc. EDSTAFF Excel Worksheet Functions 0 October 26th 05 12:09 AM
How to Sort Protected Worksheet mr.lord Excel Worksheet Functions 1 May 28th 05 07:48 AM
Is it possible to sort a protected worksheet? Phyllis Excel Discussion (Misc queries) 8 January 6th 05 04:45 PM


All times are GMT +1. The time now is 01:05 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"