AndrewMartin
New Member
- Joined
- Sep 8, 2016
- Messages
- 5
Hi, first post on here so please excuse! I am, and have been for quite some time, trying to set up a spreadsheet to be used by a wide range of users (many with very little excel knowledge) which has a great deal of code and formula within it. I have therefore password protected the sheet to avoid issues with people deleting the formulas etc. However, the sheet I need help with is one where I want around 25 rows to be available to edit for normal use, but, on occasion, people will need additional rows (on some schemes up to 150 rows), so I need an easy way for people to add rows and copy down the formula from the row above, without the sheet being unprotected.
I have tried setting up a macro to add a row and this appeared to work great as it was unlocking the sheet, carrying out the necessary inserting and copying, and then protecting the sheet again (albeit with no password but beggars cant be choosers eh?). The problem with this in practice was that the macro always added the row to say row 26, so if you had added 10no. rows and filled these in and then needed more rows, by clicking the macro button it added the new row in above completed rows, ruining the sequencing.
I then tried setting up groups of 20no. rows and minimising these, therefore only a single row was visible for each group at the bottom of the sheet, and could be expanded when needed, however when the sheet is locked the 'expand' function was also locked and I cant see how to get this aspect unlocked without unprotecting!
So, what I need is something to either allow the 'group' command to be available for use when the sheet is protected, or something else to carry out the function I need that you wonderfully clever people out there know about!
Many thanks!
Andrew
I have tried setting up a macro to add a row and this appeared to work great as it was unlocking the sheet, carrying out the necessary inserting and copying, and then protecting the sheet again (albeit with no password but beggars cant be choosers eh?). The problem with this in practice was that the macro always added the row to say row 26, so if you had added 10no. rows and filled these in and then needed more rows, by clicking the macro button it added the new row in above completed rows, ruining the sequencing.
I then tried setting up groups of 20no. rows and minimising these, therefore only a single row was visible for each group at the bottom of the sheet, and could be expanded when needed, however when the sheet is locked the 'expand' function was also locked and I cant see how to get this aspect unlocked without unprotecting!
So, what I need is something to either allow the 'group' command to be available for use when the sheet is protected, or something else to carry out the function I need that you wonderfully clever people out there know about!
Many thanks!
Andrew