Hi There
Is there a better way to structure this macro recording. It seems to have some problems with the hide and unhide and the protect/unprotect part
Sub Macro6()
'
' Macro6 Macro
'
Sheets("Sheet3").Visible = True
Range("A1").Select
ActiveSheet.Unprotect
Range("A1").Select
ActiveCell.FormulaR1C1 = "TRUE"
Range("A1").Select
ActiveCell.FormulaR1C1 = "FALSE"
Range("A2").Select
ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True
Sheets("Sheet3").Select
ActiveWindow.SelectedSheets.Visible = False
Sheets("REQUEST FORM").Select
Range("A7").Select
End Sub
Is there a better way to structure this macro recording. It seems to have some problems with the hide and unhide and the protect/unprotect part
Sub Macro6()
'
' Macro6 Macro
'
Sheets("Sheet3").Visible = True
Range("A1").Select
ActiveSheet.Unprotect
Range("A1").Select
ActiveCell.FormulaR1C1 = "TRUE"
Range("A1").Select
ActiveCell.FormulaR1C1 = "FALSE"
Range("A2").Select
ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True
Sheets("Sheet3").Select
ActiveWindow.SelectedSheets.Visible = False
Sheets("REQUEST FORM").Select
Range("A7").Select
End Sub