Ver Mensaje Individual
  #2 (permalink)  
Antiguo 12/10/2012, 22:20
Avatar de mrocf
mrocf
 
Fecha de Ingreso: marzo-2007
Ubicación: Bs.As.
Mensajes: 1.103
Antigüedad: 17 años, 1 mes
Puntos: 88
De acuerdo Composición de Código

Fíjate si lo siguiente te sirve:

Código PHP:
Ver original
  1. Sub BorraContenido_new()
  2. Dim mySh, myRng, i As Byte
  3.  
  4. mySh = Array( _
  5.   "Preguntas No.1-2", "Preguntas No.3-4", "Preguntas No.5-6", _
  6.   "Preguntas No.7-8", "Preguntas No.9-10", "Preguntas No.11-12", _
  7.   "Preguntas No.13-14")
  8. myRng = Array( _
  9.   "C6:F50,I6:L50", "C6:F50,I6:L50", "C6:F50,I6:L50", "C6:D50,G6:H50", _
  10.   "C6:D50,G6:J50", "C6:F50,I6:L50", "C6:F50,I6:L50")
  11.  
  12. Application.ScreenUpdating = False
  13. For i = LBound(mySh) To UBound(mySh)
  14.   Sheets(mySh(i)).Range(myRng(i)).ClearContents
  15. Application.ScreenUpdating = True
  16.  
  17. MsgBox ("Contenido limpio de hojas Pregunta del No.1 a la 14")
  18. End Sub

Saludos, Cacho R.