Forum Discussion

JBF_54's avatar
JBF_54
Brass Contributor
Mar 25, 2020
Solved

Slow Code ... adding rows to a table

Background: I have a table of transactions which is updated daily with the purchases of the day. Once a week (payday) there are a number of transactions that get insert. These transactions are the sa...
  • JBF_54's avatar
    JBF_54
    Mar 25, 2020

    JKPieterse 

     

    Thanks for the hint. I didn't end up using your suggestion, but by practicing with it I discovered something better. So thanks again, without your hint I would still be stuck.

     

    What I found was that copying the records 'at' the bottom of the table was easy, and Excel then expands the table for me. I didn't need to do my own expansion at all.

     

    As for adding the records at the end of the table instead of the top ... not hard to fix in this case since  one of the inserted columns is a date field. I was able to record a macro of sorting the table and used it as generated (except for changing its name).

Resources