+ Reply to Thread
Results 1 to 6 of 6

Copy & paste between file's

  1. #1
    Spammer
    Join Date
    06-09-2014
    Location
    https://t.me/pump_upp
    MS-Off Ver
    Microst Office 365 Plus
    Posts
    149

    Copy & paste between file's

    Hello
    I am looking for macro that will do the following mentioned below

    It will find the data present in H13 in Book2.xls & after finding the same it will copy the entire row of Book3.xlsx (1st Row) & paste that much times of data in Book1.csv & will save all the changes made in csv file and will close all the file

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,012

    Re: Copy & paste between file's

    .
    This is one method :

    Please Login or Register  to view this content.

  3. #3
    Spammer
    Join Date
    06-09-2014
    Location
    https://t.me/pump_upp
    MS-Off Ver
    Microst Office 365 Plus
    Posts
    149

    Re: Copy & paste between file's

    Hi Logit,
    u haven't mentioned about the Book2 in the above macro
    Plz check the macro again

  4. #4
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,012

    Re: Copy & paste between file's

    .
    The macro is pasted in Book2. That is all that is required, as it check Cell H14 on Sheet1, then the macro goes from there.

    Perhaps to make it "a little more "correct" ", here is a slightly edited version :

    Please Login or Register  to view this content.
    Paste the above in Book2, in a regular Module.

  5. #5
    Spammer
    Join Date
    06-09-2014
    Location
    https://t.me/pump_upp
    MS-Off Ver
    Microst Office 365 Plus
    Posts
    149

    Re: Copy & paste between file's

    Hi Logit,
    I tried to somehow edit the macro but i am unable to do so,Macro is pasted(placed) to another file (not in Book1,Book2,Book3)
    plz modify the macro again

  6. #6
    Spammer
    Join Date
    06-09-2014
    Location
    https://t.me/pump_upp
    MS-Off Ver
    Microst Office 365 Plus
    Posts
    149

    Re: Copy & paste between file's

    Atlast I modified the code andit is working perfect
    Thanks Alot Logit
    Have a Great Day

+ 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. Macro to copy fresh data from master file n paste to destntion file
    By awl0111 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-13-2017, 02:56 AM
  2. [SOLVED] VB Code to copy and paste from all text file and paste into single file
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 04-29-2015, 06:00 PM
  3. macro to copy used range and paste in the body tag of a html file/text file
    By amethystfeb in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-24-2014, 08:34 PM
  4. Replies: 1
    Last Post: 10-01-2012, 11:11 PM
  5. macro to open, copy paste from existing excel file to a new blank file
    By 2blessed in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-15-2012, 06:05 PM
  6. Replies: 1
    Last Post: 10-17-2005, 04:05 AM
  7. Replies: 1
    Last Post: 01-04-2005, 06:06 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