I'm using an excel table and needing to protect the formula in 3 different columns. All other cells will be un-locked. When I lock the cells for those 3 columns and password protect the tab it won't let me add any new rows.
Any suggestions?
I'm using an excel table and needing to protect the formula in 3 different columns. All other cells will be un-locked. When I lock the cells for those 3 columns and password protect the tab it won't let me add any new rows.
Any suggestions?
That's rather the point of protecting the worksheet and accepting the default protection.
Try ticking the box to allow the insertion of rows when you protect the sheet.
Richard Buttrey
RIP - d. 06/10/2022
If any of the responses have helped then please consider rating them by clicking the small star icon below the post.
I tried that & it didn't work. I can type info into existing rows but it won't fill down on the table format or existing formulas
Time to upload your actual workbook methinks and explain exactly what steps/actions you take and what you want to happen.
& how do I attach my workbook here?
Hi,
See the FAQ - Reading & Posting messages.
hopefully you can view attached.
I have columns N,P,R,Y locked & protected as they contain formulas
All other cells should be unlocked
Password to un-protect sheet is ALAN (name of the tab)
In this protected view - I can start typing info in row 3 but it does not automatically format
the row as a Table & does not copy down the formulas in the rows listed above.
However, unprotect sheet & it works just fine, formats as table & copies down formula
Ahh! I see that by table you were referring to the TABLE functionality wherein it automatically expands and adds new formulae when you start typing a new row.
You've hit one of the downsides to the Table functionality - there are others in my opinion, and that's that you cant have Tables update when the sheet is protected.
The essential question is do you really need the TABLE functionality? Ironically we had a discussion on the subject of Tables recently and many of us find them tiresome.
I rarely use them and for stuff like this where you want to control additions to a database the approach I always adopt is to have a dedicated data entry row above the data (which is a normal range not a TABLE) for original data entry. Unlock any cells for which you wish to permit entry and Protect the worksheet. Then have a button which runs a small macro that temporarily unprotects the worksheet, (inserts a new first row to the data if you want the new record to be at the top), copies the new record data entry row and pastes it to the new first row, or at the foot of the table if you prefer. the macro then concludes by putting sheet protection back on.
I really appreciate all your help. I tried doing this spreadsheet without using a table, what I ran into was having the formula fill down & calculate when data was entered in columns K & L. I couldn't just do a fill down because that took it all the way down to row 65,536. The # of rows entered will vary each time but it definitely won't go that far down. I was trying to keep it simple as there will be 10 different people putting info into their respective tabs and I didn't want them to have to use a macro each time they wanted to enter something.
I will have this file shared and there very well could be several people using it at one time, I don't know that the macro would work at that point would it, would each tab have to have their own macro & button assigned?
Mmm!
There's no reason why the macro wouldn't work and it could be sheet independent and work with any tab.
However you've mentioned the dreaded words 'shared workbook'. Most of us avoid these like the plague since sharing causes too many problems in areas that needn't concern us just at the moment. You certainly couldn't have the macro running at the same instant if it was selected by two people at exactly the same moment, although in practice since it's a simple macro and runs in milliseconds, of itself that needn't be a problem.
I'm implying from your description that you have separate tabs dedicated to individuals for them alone to add to. If so and if the essential of the task is to gather summary data for many individuals then personally I'd change my approach and let each person have their own individual workbook. Then for summary information I'd have someone with a master workbook whose sole task is to run a macro which gathers all the relevant data from the individual workbooks into a single database in the master workbook.
I've already got a macro worked up to combine all these tabs into a new "Master" sheet, just not sure if they want each individual to have their own workbook. I think they are trying to keep all this information together in one workbook.
It was worth a shot - I appreciate all your help.
FYI, you can't share a workbook with a Table in it anyway, nor can you change protection once it's shared.
Remember what the dormouse said
Feed your head
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks