+ Reply to Thread
Results 1 to 2 of 2

Move a Row from multiple Excel Data to the executing table

  1. #1
    Registered User
    Join Date
    11-10-2022
    Location
    Earth
    MS-Off Ver
    Office 365
    Posts
    1

    Move a Row from multiple Excel Data to the executing table

    Hey guys,

    im trying to program a script which should look for a term for example "Projectname" in Multiple seperate Excel Data in a seperate folder.

    Then when its found it should copy the exact row into the executing Table which i run the Script in.


    For Example:
    The Script opens the Excel Table, looks if the term "Projectname" exists in it.

    If the Term is found, it should then copy the whole row in that table that execute the script into the next free row then goes back to the last table and looks if there is more and repeats the process.

    If the term is not found or all terms are found, it closes the Table and opens then next until there are no tables left in the Folder.


    And if the Script is done, it should tell how many rows were successfully copied into the main table.


    Please Login or Register  to view this content.
    I got so far that it looks and finds the Term but i got no idea how i copy that whole row and copy it into the main table D:


    Can somebody help me work this out ? I would really appreciate all kind of help :D

  2. #2
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Move a Row from multiple Excel Data to the executing table

    It seems your code is not complete.
    I would suggest to record the rows with the term found inside, in a dictionary: It is dynamic.
    Then you can copy the keys of the dictionary where you want.
    - Battle without fear gives no glory - Just try

+ 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. Drop and Drag From Excel causes the table data to move
    By rocketscience in forum Excel General
    Replies: 2
    Last Post: 04-17-2020, 12:07 PM
  2. Move data from 1 table to another table, then clear the original table
    By kwoltman in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-03-2019, 06:06 PM
  3. Replies: 11
    Last Post: 10-24-2014, 04:50 PM
  4. Replies: 2
    Last Post: 06-29-2014, 04:18 PM
  5. [SOLVED] Macros To Move Multiple Rows To Another Sheet And Macro To Move Single Rows To DAX Table
    By jcaynes in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-22-2013, 05:08 PM
  6. Check all data entered in table before executing code
    By adam2308 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-18-2012, 12:30 PM
  7. Replies: 1
    Last Post: 08-31-2012, 10:35 PM

Tags for this Thread

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