+ Reply to Thread
Results 1 to 5 of 5

Auto populate formulas and borders when rows are inserted into database

  1. #1
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Auto populate formulas and borders when rows are inserted into database

    Hi All

    Is there a way for me to auto populate a row with the previous rows formulas when new info is populated form a database.

    In attached Worksheet, if I Press on PAYMENTS icon in Database Sheet, and I process a payment, the info gets sent to Payment transaction history Sheet.

    Is there a way for me to auto populate a row with the previous formulas when new info is populated form Database Sheet.
    The rows inserted could be ongoing and if I need to print out the sheet, I don't want to print out all the blank rows etc.

    I have been searching options all day, even had a look at tables.

    Any suggestions.
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Auto populate formulas and borders when rows are inserted into database

    Have not looked at your file, but it sounds like you need to convert your range to a structured TABLE
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: Auto populate formulas and borders when rows are inserted into database

    Hi FDibbins

    Thanks for your reply. I have looked at that option but the records could go on forever and I will not want to have Table that large.
    Is there a way to insert as we go along or am I looking at the Tables format incorrectly.

  4. #4
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: Auto populate formulas and borders when rows are inserted into database

    Hi FDibbins

    I converted to a Table and it worked succesfully. I will write code to hide balance of rows before printing.

    Thanks for assistance.

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Auto populate formulas and borders when rows are inserted into database

    Happy to help, thanks for the feedback

+ 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. Find highest value and populate newly inserted rows with a unique ID
    By GraemeHM in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-09-2014, 07:22 AM
  2. Formulas dont auto copy when cells are locked and a row is inserted.
    By gluktar in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-15-2013, 01:31 PM
  3. Auto populate the selection from the database
    By justinng in forum Excel General
    Replies: 5
    Last Post: 01-15-2010, 01:59 PM
  4. Keeping formulas in inserted rows
    By bbvcbob in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-16-2007, 05:36 AM
  5. auto update formula if rows inserted
    By ktchegi in forum Excel - New Users/Basics
    Replies: 6
    Last Post: 04-20-2007, 07:51 AM
  6. [SOLVED] Extend Formulas to Inserted Rows
    By AC in forum Excel General
    Replies: 2
    Last Post: 07-19-2006, 05:30 PM
  7. [SOLVED] How to have formulas and formats auto copy to new inserted rows
    By DippyDawg in forum Excel General
    Replies: 2
    Last Post: 08-05-2005, 11:05 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