SET 1
Sub LockAll() ActiveDocument.MasterPage.GuidesLayer.Editable = False ActiveDocument.MasterPage.DesktopLayer.Editable = FalseActivePage.GuidesLayer.Editable = FalseEnd Sub
ActivePage.GuidesLayer.Editable = False : PLEASE UPDATE THIS TO ALL PAGES GUIDES LAYERS
Sub UnlockAll() ActiveDocument.MasterPage.DesktopLayer.Editable = True ActiveDocument.MasterPage.GuidesLayer.Editable = True ActivePage.GuidesLayer.Editable = TrueEnd Sub
ActivePage.GuidesLayer.Editable = True : PLEASE UPDATE THIS TO ALL PAGES GUIDES LAYERS
..........................
SET 2
Sub Showall() ActivePage.GuidesLayer.Visible = True ActiveDocument.MasterPage.GuidesLayer.Visible = True ActiveDocument.MasterPage.DesktopLayer.Visible = TrueEnd Sub
ActivePage.GuidesLayer.Visible = True : PLEASE UPDATE THIS TO ALL PAGES GUIDES LAYERS
Sub Unhideall() ActiveDocument.MasterPage.DesktopLayer.Visible = False ActiveDocument.MasterPage.GuidesLayer.Visible = False ActivePage.GuidesLayer.Visible = FalseEnd Sub
ActivePage.GuidesLayer.Visible = False : PLEASE UPDATE THIS TO ALL PAGES GUIDES LAYERS
Hello,SET 2
Sub Showall()FOR EACH MYPAGE IN ACTIVEDOCUMENT.PAGESMYPAGE.GuidesLayer.Visible = TRUENEXTActiveDocument.MasterPage.GuidesLayer.Visible = TrueActiveDocument.MasterPage.DesktopLayer.Visible = TrueEnd Sub
'ActivePage.GuidesLayer.Visible = True : PLEASE UPDATE THIS TO ALL PAGES GUIDES LAYERS
Sub Unhideall()
FOR EACH MYPAGE IN ACTIVEDOCUMENT.PAGESMYPAGE.GuidesLayer.Visible = FALSENEXTActiveDocument.MasterPage.DesktopLayer.Visible = FalseActiveDocument.MasterPage.GuidesLayer.Visible = FalseActivePage.GuidesLayer.Visible = FalseEnd Sub
'ActivePage.GuidesLayer.Visible = False : PLEASE UPDATE THIS TO ALL PAGES GUIDES LAYERS