Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi all, i recorded a macro to do the above and then changed it for
"ActiveWorksheet" and now i get the following error mesage: Run-time error '1004' Method "HighlightChangesOptions' of Object'_Workbook' Failed ?? Could somebody please help Sub ProtectWorksheetStd() ' ' Columns("H:H").Locked = False ActiveSheet.EnableSelection = xlUnlockedCells ActiveSheet.Protect Password:="secret", Scenarios:=True ActiveWorkbook.KeepChangeHistory = True ActiveWorkbook.Save With ActiveWorkbook .HighlightChangesOptions When:=xlAllChanges, Who:="Everyone", Whe= _ "H:H" .ListChangesOnNewSheet = False .HighlightChangesOnScreen = True End With Range("H3").Select End Sub Tempy *** Sent via Developersdex http://www.developersdex.com *** |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
change formula in a shared worksheet without losing change history | Excel Worksheet Functions | |||
How to change the default of 30 days change history | Excel Discussion (Misc queries) | |||
On screen change history | Excel Discussion (Misc queries) | |||
How change days of change history tracking? | Excel Worksheet Functions | |||
cant not change history on a shared workbook | Excel Discussion (Misc queries) |