garden_rael
Board Regular
- Joined
- Apr 1, 2008
- Messages
- 100
I'm trying to copy some info from a worksheet to another...
I used a code like this in the same workbook and it works, but how can I get it to work between workbooks?
Sheets("Consulta").Cells(4, 3).FormulaR1C1 = Sheets("BASE").Cells(B, 13)
I thought it would be like
Worksheets("Tarjetas.xls").Sheets("Consulta").Cells(4, 3).FormulaR1C1 = Worksheets("Layout.xls").Sheets("BASE").Cells(B, 13)
But it didn't work.
Thank you
I used a code like this in the same workbook and it works, but how can I get it to work between workbooks?
Sheets("Consulta").Cells(4, 3).FormulaR1C1 = Sheets("BASE").Cells(B, 13)
I thought it would be like
Worksheets("Tarjetas.xls").Sheets("Consulta").Cells(4, 3).FormulaR1C1 = Worksheets("Layout.xls").Sheets("BASE").Cells(B, 13)
But it didn't work.
Thank you