Foros del Web » Programación para mayores de 30 ;) » Programación General » Visual Basic clásico »

Seleccion De Hojas

Estas en el tema de Seleccion De Hojas en el foro de Visual Basic clásico en Foros del Web. HOLA A TODOS, NECESITO AYUDA, TENGO ESTA MACRO Sub Makro2() Application.ScreenUpdating = False Sheets(Array(1, 2, 3)).Select Cells.Select Selection.ClearContents Range("a1").Select ActiveWorkbook.Save ActiveWorkbook.Close End Sub MI PROBLEMA ...
  #1 (permalink)  
Antiguo 01/06/2006, 18:42
 
Fecha de Ingreso: mayo-2006
Mensajes: 1
Antigüedad: 17 años, 11 meses
Puntos: 0
Seleccion De Hojas

HOLA A TODOS, NECESITO AYUDA, TENGO ESTA MACRO

Sub Makro2()
Application.ScreenUpdating = False
Sheets(Array(1, 2, 3)).Select
Cells.Select
Selection.ClearContents
Range("a1").Select
ActiveWorkbook.Save
ActiveWorkbook.Close
End Sub

MI PROBLEMA ES Q SI ELIMINO CUALQUIERA DE LAS HOJAS LA MACRO EM TIRA UN ERROR, Y SI AGREGO OTRA HOJA, LA MACRO NO SE APLICA A LA NUEVA HOJA, ESPERO SU AYUDA Y GRACIAS
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 07:28.