+ Reply to Thread
Results 1 to 5 of 5

Ideas for Macro to add lines from 1 Excel to Another one

  1. #1
    Registered User
    Join Date
    10-20-2010
    Location
    costa rica
    MS-Off Ver
    Office365
    Posts
    28

    Question Ideas for Macro to add lines from 1 Excel to Another one

    Hi Guys,

    I have a excel called Base and another excel called File to be added.

    I want to add the lines from File to be added to Base but if the lines from File to be added are the same in Base please discard add the lines and only add the lines that are not in common based in column A "kEY"

    Attached files File to be added.xlsxBase.xlsx

    If you can bring me any light to know how to start with this could be amazing

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: Ideas for Macro to add lines from 1 Excel to Another one

    Try this

    Please Login or Register  to view this content.

  3. #3
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,523

    Re: Ideas for Macro to add lines from 1 Excel to Another one

    An idea,

    Assuming both workbooks are in then same folder.
    File to be added.xlsx must be closed.
    Please Login or Register  to view this content.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    10-20-2010
    Location
    costa rica
    MS-Off Ver
    Office365
    Posts
    28

    Re: Ideas for Macro to add lines from 1 Excel to Another one

    Quote Originally Posted by davesexcel View Post
    Try this

    Please Login or Register  to view this content.
    thanks a lot this works very good !!

  5. #5
    Registered User
    Join Date
    10-20-2010
    Location
    costa rica
    MS-Off Ver
    Office365
    Posts
    28

    Re: Ideas for Macro to add lines from 1 Excel to Another one

    Quote Originally Posted by jindon View Post
    An idea,

    Assuming both workbooks are in then same folder.
    File to be added.xlsx must be closed.
    Please Login or Register  to view this content.
    This is amazing with that I can continue with my macro . Help a lot !!!

+ 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. Multiple values into one row macro solution
    By jaryszek in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-18-2019, 04:36 AM
  2. [SOLVED] Macro neede to open text files from folder and remove all the lines except specific lines
    By genetist in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 10-07-2014, 02:44 AM
  3. With a Macro i need to execute a report in Excel ideas????
    By rodriseb in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-04-2013, 06:56 PM
  4. macro to autofilter and copy first 15 lines visible lines in columns D:E
    By Juraj123 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-20-2013, 03:40 AM
  5. highlighting lines in an excel macro
    By rjhe22 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-14-2013, 11:09 AM
  6. [SOLVED] Macro to Delete useless lines, rearrange by dates and skip lines between different days.
    By Tmc2159 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-12-2012, 02:15 PM
  7. [SOLVED] Macro won't delete? Any ideas?
    By Gabbon in forum Excel General
    Replies: 2
    Last Post: 04-04-2006, 06:30 AM

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