Copy Cells with VBA

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

I'd like a VBA macro that would copy in row C4 of worksheet A the content of
row E11 of worksheet B.
Is that possible ?
Regards,
 
Hi Jef

If both workbooks are open try this
I think you mean a range instead of a row?

Workbooks("A.xls").Sheets("sheet1").Range("C4").Value = _
Workbooks("B.xls").Sheets("sheet1").Range("E11").Value
 

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

Back
Top