Copy Cells with VBA

J

Jeff

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,
 
R

Ron de Bruin

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
 
Top