Ver Mensaje Individual
  #3 (permalink)  
Antiguo 10/09/2008, 17:29
Avatar de totiwuo
totiwuo
 
Fecha de Ingreso: septiembre-2008
Mensajes: 13
Antigüedad: 16 años, 8 meses
Puntos: 0
Respuesta: Agregar más de tres hojas a Excel con visual basic .net?

Cita:
Iniciado por David el Grande Ver Mensaje
Es que la plantilla de Excel solo tiene tres hojas, y con el código sólo estás haciendo referencia a esas hojas, no creándolas. Prueba así para la cuarta hoja y sucesivas:
Código PHP:
Set myhoja4 mylibro.Worksheets.Add(After:=mylibro.Worksheets(mylibro.Worksheets.Count)) 
HEY ME FUNCIONO DE MARAVILLA MUCHAS GRACIAS!
SI ANDUVE BUSCANDO POR TODOS LADOS Y NO HABIA ENCONTRADO LA SOLUCION.