Refference Poem by Alvinzor Flores

Refference



[Back]

Private Sub Worksheet_Change(ByVal Target As Range)
Dim Answ As String
Application.ScreenUpdating = False
Answ = MsgBox('This range will now be locked.', vbOKCancel, 'Confirm Change')
If Answ <> vbOK Then
Application.EnableEvents = False
Target.ClearContents 'clear contents if cancel is pressed
Application.EnableEvents = True
Exit Sub
End If
ActiveSheet.Unprotect '1'
Target.Locked = True
ActiveSheet.Protect Password: ='1', DrawingObjects: =True, Contents: =True, Scenarios: =True
Application.ScreenUpdating = True
End Sub

[Back]

Private Sub Worksheet_Change(ByVal Target As Range)
Dim Answ As String
Application.ScreenUpdating = False
Answ = MsgBox('This range will now be locked.', vbOKCancel, 'Confirm Change')
If Answ <> vbOK Then
Application.EnableEvents = False
Target.ClearContents 'clear contents if cancel is pressed
Application.EnableEvents = True
Exit Sub
End If
ActiveSheet.Unprotect '1'
Target.Locked = True
ActiveSheet.Protect Password: ='1', DrawingObjects: =True, Contents: =True, Scenarios: =True
Application.ScreenUpdating = True
End Sub


[Back]

Private Sub Worksheet_Change(ByVal Target As Range)
Dim Answ As String
Application.ScreenUpdating = False
Answ = MsgBox('This range will now be locked.', vbOKCancel, 'Confirm Change')
If Answ <> vbOK Then
Application.EnableEvents = False
Target.ClearContents 'clear contents if cancel is pressed
Application.EnableEvents = True
Exit Sub
End If
ActiveSheet.Unprotect '1'
Target.Locked = True
ActiveSheet.Protect Password: ='1', DrawingObjects: =True, Contents: =True, Scenarios: =True
Application.ScreenUpdating = True
End Sub

Thursday, May 21, 2015
Topic(s) of this poem: arthurian
POET'S NOTES ABOUT THE POEM
Art
COMMENTS OF THE POEM
READ THIS POEM IN OTHER LANGUAGES
Close
Error Success