Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hola :
Tengo una rutina en VBA el cual, su funcion es insertar una fila en blanco, si en un rango se encuentra una celda vacia, deseo insertar la fila pero que la ponga de color azul, seria de mucha ayuda si me indicaran que lineas modificar. el codigo es el siguiente : Sub Borrar_fila() Dim i As Long 'We turn off calculation and screenupdating to speed up the macro. With Application ' .Calculation = xlCalculationManual .ScreenUpdating = False 'We work backwards because we are deleting rows. For i = Selection.Rows.Count To 1 Step -1 If WorksheetFunction.CountA(Selection.Rows(i)) = 0 Then Selection.Rows(i).EntireRow.Insert End If Next i .ScreenUpdating = True End With End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
insertar un formulrio a un macro | Excel Discussion (Misc queries) | |||
Cambiar color fila dependiendo de valor de columna | Excel Discussion (Misc queries) | |||
Can't format cell color/text color in Office Excel 2003 in files . | Excel Discussion (Misc queries) | |||
My fill color and font color do not work in Excel Std Edition 2003 | Excel Discussion (Misc queries) | |||
My excel 2003 wont let me fill cells with color or color the tabs. | New Users to Excel |