+ Reply to Thread
Results 1 to 5 of 5

Adding blank row to table

  1. #1
    Registered User
    Join Date
    01-31-2021
    Location
    London
    MS-Off Ver
    365
    Posts
    72

    Adding blank row to table

    Hi guys,

    I’ve got an excel spreadsheet that has two tables one above the other with a few blank rows between.

    I then have a button which should add a row at the bottom of the top table. However it comes up with an error message.

    “Run time error ‘1004’ This won’t work because it would move cells in a table on your worksheet.”

    This is the code.

    Please Login or Register  to view this content.
    I’m assuming it’s because it’s moving the second table down a row which it doesn’t like. Is there a work around for this.

    Cheers,

  2. #2
    Registered User
    Join Date
    01-31-2021
    Location
    London
    MS-Off Ver
    365
    Posts
    72

    Re: Adding blank row to table

    I really wish I could delete this thread. I've been trying to solve this for ages and as soon as I posted this the answer dawned on me.. The table below is one column bigger..

    Can I give myself reputation points??

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,978

    Re: Adding blank row to table

    No, you can't! LOL!!!

    But you can share the solution for the benefit of other members and mark the thread as solved. Please do both of these things. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Registered User
    Join Date
    01-31-2021
    Location
    London
    MS-Off Ver
    365
    Posts
    72

    Re: Adding blank row to table

    I'm glad you replied as now I can't find how to mark it as solved..

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,978

    Re: Adding blank row to table

    You have already marked it as solved.

+ 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. Adding a Blank Row Every Nth Row in a Table
    By rachelfish96 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-07-2019, 11:25 PM
  2. [SOLVED] Adding A Blank Row To A Table In Error
    By TheScott in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-27-2015, 02:42 PM
  3. Adding blank column to Pivot Table
    By GPSPOW in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 12-09-2014, 04:06 PM
  4. Adding to first blank row in table
    By Janno in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-26-2014, 07:07 AM
  5. Sorting table then adding blank rows
    By kgrula in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-30-2011, 11:05 PM
  6. Replies: 3
    Last Post: 09-17-2008, 01:05 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