+ Reply to Thread
Results 1 to 14 of 14

Inserting New Rows in Protected Table

  1. #1
    Registered User
    Join Date
    07-21-2004
    MS-Off Ver
    2010
    Posts
    51

    Inserting New Rows in Protected Table

    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?

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Inserting New Rows in Protected Table

    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.

  3. #3
    Registered User
    Join Date
    07-21-2004
    MS-Off Ver
    2010
    Posts
    51

    Re: Inserting New Rows in Protected Table

    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

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Inserting New Rows in Protected Table

    Time to upload your actual workbook methinks and explain exactly what steps/actions you take and what you want to happen.

  5. #5
    Registered User
    Join Date
    07-21-2004
    MS-Off Ver
    2010
    Posts
    51

    Re: Inserting New Rows in Protected Table

    & how do I attach my workbook here?

  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Inserting New Rows in Protected Table

    Hi,

    See the FAQ - Reading & Posting messages.

  7. #7
    Registered User
    Join Date
    07-21-2004
    MS-Off Ver
    2010
    Posts
    51

    Re: Inserting New Rows in Protected Table

    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
    Attached Files Attached Files

  8. #8
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Inserting New Rows in Protected Table

    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.

  9. #9
    Registered User
    Join Date
    07-21-2004
    MS-Off Ver
    2010
    Posts
    51

    Re: Inserting New Rows in Protected Table

    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.

  10. #10
    Registered User
    Join Date
    07-21-2004
    MS-Off Ver
    2010
    Posts
    51

    Re: Inserting New Rows in Protected Table

    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?

  11. #11
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Inserting New Rows in Protected Table

    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.

  12. #12
    Registered User
    Join Date
    07-21-2004
    MS-Off Ver
    2010
    Posts
    51

    Re: Inserting New Rows in Protected Table

    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.

  13. #13
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Inserting New Rows in Protected Table

    Quote Originally Posted by RSa View Post
    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.
    Your on the right lines with a Master workbook that gathers data from multiple workbooks. Now you just need to convince 'them' that they are on a potential route to disaster with a shared workbook that has any sort of functionality that departs from very basic stuff.

  14. #14
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Inserting New Rows in Protected Table

    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

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Inserting unlocked rows in a protected sheet
    By TimlmiT in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-19-2013, 03:51 PM
  2. Inserting Rows into Protected sheet
    By DJBittner in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-10-2011, 11:35 AM
  3. Inserting rows with protected columns
    By Smiggy in forum Excel General
    Replies: 0
    Last Post: 08-25-2011, 03:26 AM
  4. Inserting Rows on a Protected Sheet
    By redstang423 in forum Excel General
    Replies: 1
    Last Post: 05-07-2008, 03:01 PM
  5. Inserting rows and columns in protected sheet.
    By anulas in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-26-2007, 02:40 AM
  6. INSERTING ROWS IN PROTECTED WORKSHEET
    By TLAngelo in forum Excel General
    Replies: 0
    Last Post: 07-18-2006, 01:20 PM
  7. Inserting rows into worksheets that are protected
    By Chris R in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-18-2005, 10:00 AM
  8. Inserting rows in protected sheet
    By rajeshkumar in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-29-2005, 11:24 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1