S
SpeeD
Hi guys.
I´ve got the following code for unprotecting my sheets.
The problem is when i miss the password! Excell doesn´t
ask for it again or Stops the macro. It appears a Window
asking me to end or debug!
Sheets("GESTÃO").Select
ActiveSheet.Unprotect
Rows("7:11").Select
Selection.EntireRow.Hidden = False
Range("A1").Select
Sheets("ORÇAMENTO").Select
ActiveSheet.Unprotect
Rows("5:10").Select
Selection.EntireRow.Hidden = False
Range("A1").Select
Sheets(" AJUDA ! ").Select
Range("A1").Select
How can i make excell ask me for the passWord again or
simply stops the macro(or run another macro)
Thanks a lot!!!
I´ve got the following code for unprotecting my sheets.
The problem is when i miss the password! Excell doesn´t
ask for it again or Stops the macro. It appears a Window
asking me to end or debug!
Sheets("GESTÃO").Select
ActiveSheet.Unprotect
Rows("7:11").Select
Selection.EntireRow.Hidden = False
Range("A1").Select
Sheets("ORÇAMENTO").Select
ActiveSheet.Unprotect
Rows("5:10").Select
Selection.EntireRow.Hidden = False
Range("A1").Select
Sheets(" AJUDA ! ").Select
Range("A1").Select
How can i make excell ask me for the passWord again or
simply stops the macro(or run another macro)
Thanks a lot!!!