More Excel Answers
Question Library
Ask a question about Excel
Volunteer
Experts of the Month
Expert Login
Awards
About Us
Tell friends
Link to Us
Disclaimer
|
| |
|
|
| |
| | | |
About Bill
Expertise I can provide help with most all EXCEL questions and most all questions about
writing EXCEL macros. I have been developing macros for about 10 years in
EXCEL and have switched to it from Lotus 1-2-3 after about 10 years of writing
macros in it. Typically, I will not write a macro for you unless it is very short because of all the details a macro has to know about to work every time all the time. Please understand that I do not know it all and will be the first to say so.
As politely as possible, I don't write macros for people on this site who need one, want one, seem to imply that they need one, and/or seem to think I am expected to write one UNLESS they are very short, quick, and simple.
99% of all macros are more involved than what you think and rarely am I provided with enough specific and complete details to have the code work the first time and every time. This typically means too many follow-up emails, and subsequent macro changes due to lack of specific details, just to get those details so that the macro would work, all of which is on my own free time.
The voice of experience from responding to many questions from people who ask me to write a macro for them from this site tells me this. I don't mean to come across as unhelpful but macros are usually very specific and without ALL of the specifics the macro I would write will not address all of your needs and the layout, location, formatting, conditions, etc. of your data and any related files the macro would have to work with.
What seems like a simple task to you is almost always more involved than what you think to have the macro ALWAYS work in EVERY situation.
If you have a macro you have already written and have a question about it then perhaps I could help with that. I am sure and hope you can and do understand.
| | |
| |
You are here: Experts > Computing/Technology > Microsoft Software > Excel > Sorting in Excel protected sheet
Excel - Sorting in Excel protected sheet
Expert: Bill - 11/6/2009
Question I have a personnel list, several columns. I want to make available to others but do not want changes made to the document. But want others to be able to sort by different columns. When I protect the sheet, Excel provides boxes to be checked if I want to allow all users to perform certain functions listed. I checked Sort and protected sheet with a password. I assumed all others could see the document and sort the columns, but would not be able to permanently save over the document. Document is protected, but when column is highlighted and Sort is selected, a pop-up message says it is protected and it won't sort by a different column than was original chosen when doc was saved and protected. If Excel doesn't allow protected documents to be sorted, why give the option - list of boxes next to functions?
In order for sorting to be used, it looks like I have to provide it as unprotected and hope no changes any info.
Answer "...If Excel doesn't allow protected documents to be sorted, why give the option - list of boxes next to functions?..."
Don't know, I did not write the program (EXCEL), you would have to ask MS that.
You can however sort protected documents AFTER they have been unprotected.
"...In order for sorting to be used, it looks like I have to provide it as unprotected and hope no changes any info...."
You can write a few macros that prompt the users for the data they want to sort and how (ascending or descending) and it will unprotect, sort, and reprotect.
I have not GOOGLE'ed this but you might find some code already written that you could modify to suit your needs and file layout.
Here is a link explaining your situation, it seems, though there is no code. I can write the code for you but not for free and/or on my own free time. Would just need to know the specfic details.
Add to this Answer Ask a Question
|
|