+ Reply to Thread
Results 1 to 5 of 5

VBA to transfer values to one table to another

  1. #1
    Registered User
    Join Date
    01-25-2018
    Location
    Quebec, Canada
    MS-Off Ver
    2013
    Posts
    16

    VBA to transfer values to one table to another

    Hi,

    I have some problem with this VBA code that is use to transfer values from one table to another.

    Please Login or Register  to view this content.
    I don't understand why I can transfer values from :

    Chequing to Savings account and vice versa,
    Chequing to Celi
    and Chequing to Line

    but I can't transfer from Celi to chequing and
    LIne to Chequing.

    My second question is :
    Why do the values in Line of credit appear in AO9 instead of AO7 ?

    Thanks for your answer. This project is important for me

    Camaalot
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,653

    Re: VBA to transfer values to one table to another

    Quote Originally Posted by Camaalot View Post

    but I can't transfer from Celi to chequing and
    LIne to Chequing.
    This line exclues changes to columns 31, 33, 43, and 45
    And the entry in cell AQ10 is missing an n; Transfer Line-Chequing

    Please Login or Register  to view this content.

    My second question is :
    Why do the values in Line of credit appear in AO9 instead of AO7 ?

    This line of code finds the last used row starting from the bottom row 102 on up. It does not find the first empty cell.
    Please Login or Register  to view this content.
    Last edited by AlphaFrog; 04-14-2018 at 07:48 PM.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,653

    Re: VBA to transfer values to one table to another

    This code...
    Please Login or Register  to view this content.
    Can replace this...
    Please Login or Register  to view this content.
    Or you could do it by column Headers.
    Please Login or Register  to view this content.
    Last edited by AlphaFrog; 04-15-2018 at 12:09 AM.

  4. #4
    Registered User
    Join Date
    01-25-2018
    Location
    Quebec, Canada
    MS-Off Ver
    2013
    Posts
    16

    Re: VBA to transfer values to one table to another

    Thanks AlphaFrog for your quick reply.

    Your answer made my life easier.

    Thanks again,

    Camaalot

  5. #5
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,653

    Re: VBA to transfer values to one table to another

    Your welcome. Thanks for the feedback.

    I edited the Headers line of code in post #3 from an OR to AND.

+ 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. Replies: 8
    Last Post: 12-02-2017, 11:59 AM
  2. [SOLVED] Transfer from one table to another auto sorting table
    By Noobulon in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 07-26-2017, 02:35 PM
  3. [SOLVED] Transfer a sub Table (column in a table) into VBA array
    By omarehabsalama in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-16-2015, 09:43 PM
  4. Replies: 0
    Last Post: 05-17-2014, 07:25 PM
  5. [SOLVED] Transfer current row of data (Table) to a new row in a second table on the same sheet
    By jrtraylor in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-12-2013, 11:12 PM
  6. Replies: 4
    Last Post: 01-18-2013, 10:49 PM
  7. UserForm to transfer items from one table to another table in the next empty cell...
    By aneese11 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-04-2012, 10:31 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