+ Reply to Thread
Results 1 to 2 of 2

Copy Data from File A to File B

  1. #1
    Forum Contributor
    Join Date
    08-02-2007
    Location
    Panama & Austria
    MS-Off Ver
    2003 & 2010
    Posts
    186

    Copy Data from File A to File B

    have 3 excel files

    -File A= Source Data

    -File B=Destination file

    -File C=File where I have my Macro.



    I need to write in File C a macro that copies data from file A and paste it to file B.

    Because File A and File B could be anywhere in the hard drive, I’m using the “Application.GetOpenFilename” to ask the for the location and name of File A (source) and File B (destination).

    Now that I have the location of each file, which should the right code to make excel copy cell values from file A and paste them to file B?
    (I already have the locations in file A and the locations in file B where I want it to copy the data).


    I appreciate your help very much.

    thanks

  2. #2
    Forum Contributor
    Join Date
    08-02-2007
    Location
    Panama & Austria
    MS-Off Ver
    2003 & 2010
    Posts
    186
    I just need a small hint.
    For example, How to copy cell B3 from File A into Cell D1 in File B. But the macro is in File C.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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