+ Reply to Thread
Results 1 to 4 of 4

Macro that adds a new row to a protected table isn't working.

  1. #1
    Registered User
    Join Date
    08-30-2018
    Location
    Hastings, NE
    MS-Off Ver
    MS 365
    Posts
    74

    Macro that adds a new row to a protected table isn't working.

    Hello everyone,

    I tried to reuse a piece of code from a former project that adds a new row into a protected table and it only works when there is no data in the table. I filled in three rows to do a test and when I tried to use the button, it just clears-out the data that was in the first cell of the last row. Could someone please help me figure out what I've done wrong? I have it set into an Active X Button.

    Please Login or Register  to view this content.
    Attached Files Attached Files

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,443

    Re: Macro that adds a new row to a protected table isn't working.

    Please post in the correct forum
    I will move it for you

  3. #3
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Macro that adds a new row to a protected table isn't working.

    Try this.
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  4. #4
    Registered User
    Join Date
    08-30-2018
    Location
    Hastings, NE
    MS-Off Ver
    MS 365
    Posts
    74

    Re: Macro that adds a new row to a protected table isn't working.

    Norie, it worked. Thank you from the bottom of my heart!

+ 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] Conditional Format not working in a Protected Table
    By antexity in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 09-04-2015, 03:14 AM
  2. Macro and grouping not working in Protected sheet
    By ranjuv in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-28-2012, 06:49 AM
  3. Replies: 0
    Last Post: 12-22-2011, 03:42 PM
  4. Help with a Macro that adds columns to a table
    By Jupasto in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-02-2011, 08:22 AM
  5. Macro not working when sheet is protected.
    By ebin charles in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-03-2011, 06:10 AM
  6. Code that adds new rows to a protected sheet
    By anakin in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-08-2008, 01:32 PM
  7. VBA Macro not working when workbook is protected
    By JustinMAS in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 04-24-2008, 04:58 PM

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