+ Reply to Thread
Results 1 to 1 of 1

Insert rows in protected sheet with locked formulas

  1. #1
    Registered User
    Join Date
    10-05-2020
    Location
    Sacramento, California, USA
    MS-Off Ver
    MS Office 2019
    Posts
    1

    Insert rows in protected sheet with locked formulas

    I'm trying to set up a spreadsheet for distribution to grant recipients so that they can report on their quarterly budget, but they can't break the formulas. I have the formulas in columns F and G locked (right now they are in table format, as that was a suggestion I received, but I'd rather keep them in standard format and use VBA to work around this issue). That said, I have zero experience with VBA.

    When I insert a new row, I can't get the formulas to populate. I think what I need to do in VBA is:
    unprotect the sheet
    insert row
    copy formula
    protect the sheet

    I'm not sure how to write the code, nor how to trigger the event (a button would be useful?). Attaching a sample sheet that's protected, but no pass.
    Attached Files Attached Files

+ 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. [SOLVED] VBA Code/Macro to insert rows into a protected sheet and copy formulas down
    By grahamlees in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-20-2017, 10:40 AM
  2. Replies: 2
    Last Post: 06-28-2017, 04:31 PM
  3. Copy/paste/cut/insert rows across protected/locked columns
    By MexicoBusiness in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-22-2015, 07:16 PM
  4. Insert Rows When Columns are Locked and Sheet Protected
    By HangMan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-22-2015, 11:30 AM
  5. Replies: 1
    Last Post: 03-29-2014, 09:56 AM
  6. Inserting copied rows (some locked cells, some not) in a protected sheet
    By kmartinez0180 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-07-2014, 08:09 PM
  7. my sheet is locked and protected, i want to insert row with autofo
    By yogesh in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-17-2006, 10:45 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