ChDir "c:\TURNO DE NOCHE\Partes de servicio\" Workbooks.Open Filename:="c:\TURNO DE NOCHE\Partes de servicio\agosto.xls" Sheets("dia 1").Select for i = 1 to 25 If ActiveSheet.Range("b" & i).Value = "" Then ActiveSheet.Range("b" & i).Value = 3 next i