Macros for copying the data

  • Thread starter Thread starter mehta_agm
  • Start date Start date
M

mehta_agm

Hi Freinds,
can some body help me with this common problem....
I am trying to create a macro to access an excel file (for example
"file2")kept in our shared drive.

I require the data from columns A & Col B of "File2" and paste it in
"file 1" sheet 2. Also i need this macro to be kept in the "file1"

But the problem is that the data in the file 2 keeps on changing.....I
dont know how shud i go abt creating this macro.

Any help is appreciated

Anand
:confused:
 
Open File 1
Record a macro when you open File2.
Keep recording when you copy the data you want (A1:Bxx)
and record when you paste into the correct worksheet in File1.
and record when you close file2 without saving.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top