![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
20/02/2007, 11:22
|
![Avatar de abrahamvj](http://static.forosdelweb.com/customavatars/avatar144758_1.gif) | | | Fecha de Ingreso: julio-2006 Ubicación: Lima, Peru
Mensajes: 708
Antigüedad: 18 años, 6 meses Puntos: 18 | |
Re: pregunta sobre VB para Aplicaiones trabajando con Excel Coloca esto en el codigo del userform.
'con este codigo anulamos el boton X (cerrar)
Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer)
If CloseMode = vbFormControlMenu Then
Cancel = True
MsgBox "Por favor, para salir usa el boton correspondiente", vbInformation, "LEA"
End If
End Sub
Abraham |