Excel para Borrar de Una Celda Con Condiciones
Excel para Borrar de Una Celda Con Condiciones
- (marco) nombre de la carpeta. - (Pineda) nombre del Excel - (XLS) smbolo del Excel. para activacin o aplicaciones directo de macro es ctrl. + F11. Algunos procesos de macro:
Sub codogo() Range("A1").Select ActiveCell.Formula = "leonel" Selection.Font.Bold = True Selection.Font.Italic = True Selection.Font.Underline = True Selection.HorizontalAlignment = xlCenter Selection.Font.Name = "MONOTYPE CURSIVA" Selection.Font.Size = 12 Selection.Copy Range("A2").Select ActiveSheet.Paste Selection.Cut Range("A10").Select ActiveSheet.Paste Range("A1").Select Selection.EntireRow.Insert ActiveCell.Formula = "leonel" Range("B1").Select Selection.EntireRow.Insert ActiveCell.Formula = "ramon" Range("C1").Select Selection.EntireRow.Insert ActiveCell.Formula = "chavo" Selection.EntireRow.Delete Range("A1").Select ActiveCell.Formula = "leonel" Range("A2").Select ActiveCell.Formula = "ramon" Range("A3").Select codigo rango actvar celda negrita cursiva subrayado centrar tipo de letra tamao copiar rango pegar cortar rango pegar rango insertar en fila actvar celda rango insertar en fila actvar celda rango insertar en fila actvar celda eliminar fila rango actvar celda rango actvar celda rango
actvar celda rango incertar Selection.EntireColumn.Insert columna eliminar Selection.EntireColumn.Delete columna Selection.Sort key1:=Range("A1"), order1:=xlAscending, header:=guess, ordercustom:=1, MatchCase:=False, Orientation:=xlTopToBottom
para introducir elementos mediante un formulario ingresas al macro / men insertar / userform
Private Sub CommandButton1_Click() Selection.EntireRow.Insert TextBox1 = Emtry TextBox2 = Emtry TextBox3 = Emtry TextBox1 = SetFocus End Sub Private Sub TextBox1_Change() Range("A1").Select ActiveCell.FormulaR1C1 = TextBox1 End Sub Private Sub TextBox2_Change() Range("B1").Select ActiveCell.FormulaR1C1 = TextBox2 End Sub Private Sub TextBox3_Change() Range("C1").Select ActiveCell.FormulaR1C1 = TextBox3 End Sub