![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
02/11/2007, 14:21
|
![Avatar de judoka](http://static.forosdelweb.com/customavatars/avatar53139_1.gif) | | | Fecha de Ingreso: enero-2004 Ubicación: viña del mar
Mensajes: 180
Antigüedad: 21 años Puntos: 3 | |
Re: Seleccionar worksheet con macro algo asi??
para crear lahoja usaste algo asi me imagino
Private Sub ComboBox1_Change()
Dim nombre As String
nombre = ComboBox1.Text
Sheets.Add
ActiveSheet.Name = nombre
End Sub
entoces para seleccionarla lo puedes hacer así
Private Sub ComboBox2_Change()
Dim nombre As String
nombre = ComboBox2.Text
Sheets(nombre).Select
End Sub
__________________ hay tres tipos de matemáticos, los que saben contar y los que no.
Oscar |