Import Excel data to another Excel file

Hello,

I have two Excel files: Machin and Truc. What I would like to do is import the data from cell A1 of the Machin file to cell A1 of my second Excel file Truc. How could I achieve this with a macro, because I'm stuck on the code?

Thank you in advance.

3 answers

  • Votes
  • Date
  • Descending date
  1. Sure, it works!

    Otherwise, to avoid having to type "=" and select the relevant cell and hit enter, is there a way to automate this when data is entered in cell A1 of my Machin file? A macro?