Ver Mensaje Individual
  #4 (permalink)  
Antiguo 13-12-2006, 05:34:53
Avatar de ST
ST ST is offline
Un Nuevo Amigo
 
Registrado: dic 2006
Posts: 14
ST Valoración +2
Predeterminado

talvez te alcance quitando algunas lineas menos:

Código:
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
Cancel = True
MsgBox vbCrLf & UCase(Application.UserName) & vbCrLf & _
"Imposible guardar " & _
ActiveWorkbook.Name & " con un" & vbCrLf & _
"nombre distinto. El documento no se guardó.", _
Buttons:=vbCritical + vbOKOnly, Title:="¡ACCIÓN PROHIBIDA!"
End Sub
cual quier cosa comentas
__________________
Salu2 ST
Responder Con Cita