+ Reply to Thread
Results 1 to 3 of 3

VBA to Insert New Rows For Split Transaction

  1. #1
    Banned User!
    Join Date
    06-18-2021
    Location
    Peru
    MS-Off Ver
    2010, Microsoft 365
    Posts
    431

    VBA to Insert New Rows For Split Transaction

    Hello,

    This seems to be very complicated but hopefully it can be done with VBA.

    On the Transactions sheet are details on a before and after example that takes one line transaction and splits into 3 lines.

    Can there be code that will:

    VBA to insert new rows below for the Split transactions run by entering a number (2-4) in column H. The new rows will have the same Account, Date, and Payee by VBA and insert the word Split in column F for each of the rows.
    Then the amount from column M will be cut and pasted (by VBA) to column I adjacent to the number of splits entered in column H.

    Please see attached file with better details on requirements.

    Thank you very much in advance for your help.

  2. #2
    Banned User!
    Join Date
    06-18-2021
    Location
    Peru
    MS-Off Ver
    2010, Microsoft 365
    Posts
    431

    Re: VBA to Insert New Rows For Split Transaction

    I found this code to copy rows. I also have different revision with only the Split Receipt column. Can the code be altered so the amount in column K be moved to column H and the 3 rows in column K be zero so the user can enter values for each split so they add up to the Split Receipt amount?

    Please Login or Register  to view this content.

  3. #3
    Banned User!
    Join Date
    06-18-2021
    Location
    Peru
    MS-Off Ver
    2010, Microsoft 365
    Posts
    431

    Re: VBA to Insert New Rows For Split Transaction

    I found a way:

    Please Login or Register  to view this content.

+ 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. add an action button to my debit column entitled split transaction.
    By Richard1963 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-05-2018, 12:50 PM
  2. A formula To Pick rows of data by the week of the transaction
    By Hank S in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-23-2016, 11:33 AM
  3. Split contents of a cell and insert new rows to put the data
    By sbhattacharya99 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-07-2013, 04:08 PM
  4. Split contents of a cell and insert new rows to put the data
    By sbhattacharya99 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-22-2013, 02:02 PM
  5. Complicated set of calculations based on transaction IDs, transaction value, etc.
    By BeeZeRCoX in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-14-2011, 11:35 AM
  6. Adding days & rows between transaction dates
    By dirtydan86 in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 09-28-2011, 12:36 PM
  7. Insert a row then copy a transaction
    By ledzepe in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-13-2005, 09: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