Run-time error '1004'
Publicado por ramon (2 intervenciones) el 16/02/2009 17:28:39
Hola,
Me sale el siguiente error cuando ejecuto la macro: Run-time error '1004' aplication-defined or object-defined error.
La macro es la siguiente:
Dim RUTA As String
Dim CARPETA As String
CARPETA = ""
RUTA = ""
CARPETA = InputBox("Introduce el mes", "MtIsa Cash Cost")
RUTA = "L:FINANCIEDEPARTAMREPORTING2009Cash cost"
Workbooks.Open Filename:=RUTA & CARPETA & "C1 Mtisa.xls", _
UpdateLinks:=3
Windows("C1 Consolidated Cash Cost.xls").Activate
Sheets("Mtisa").Select
Range("E8").Select ---> AQUI ME DA EL ERROR
ActiveCell.FormulaR1C1 = "=+'[C1 Mtisa.xls]MINES'!R8C5"
Range("E9").Select
Muchas gracias por vuestra ayuda.
Ramón.
Me sale el siguiente error cuando ejecuto la macro: Run-time error '1004' aplication-defined or object-defined error.
La macro es la siguiente:
Dim RUTA As String
Dim CARPETA As String
CARPETA = ""
RUTA = ""
CARPETA = InputBox("Introduce el mes", "MtIsa Cash Cost")
RUTA = "L:FINANCIEDEPARTAMREPORTING2009Cash cost"
Workbooks.Open Filename:=RUTA & CARPETA & "C1 Mtisa.xls", _
UpdateLinks:=3
Windows("C1 Consolidated Cash Cost.xls").Activate
Sheets("Mtisa").Select
Range("E8").Select ---> AQUI ME DA EL ERROR
ActiveCell.FormulaR1C1 = "=+'[C1 Mtisa.xls]MINES'!R8C5"
Range("E9").Select
Muchas gracias por vuestra ayuda.
Ramón.
Valora esta pregunta


0