Ver Mensaje Individual
  #3 (permalink)  
Antiguo 06/02/2008, 19:16
rolano
 
Fecha de Ingreso: febrero-2008
Ubicación: Lima
Mensajes: 6
Antigüedad: 17 años, 2 meses
Puntos: 0
Re: llenar un titulo en exel desde visual basic 6.0

Sub Centrar()
Worksheets("Hoja1").Range("B1").Value = "Informe"
Range("B1:H1").Select
With Selection
.HorizontalAlignment = xlCenter
End With
Selection.Merge
End Sub

Sub Centrar()
Worksheets("Sheet").Range("B1").Value = "Informe"
Range("B1:H1").Select
With Selection
.HorizontalAlignment = xlCenter
End With
Selection.Merge
End Sub


si estas trajando con excel en ingles ("Sheet1"), en castellano ("Hoja1")