1 Reply Latest reply on Jul 21, 2008 1:48 PM by (nycynik)

    Override Master Page Item on A Master Page

    Level 1
      Hello All,

      I'm trying to write a script which includes the equivalent of right clicking a master page in the page pallet and selecting "Override All Master Page Items."

      I've tried looping through the .AppliedMaster.PageItems using the Override command as shown below where IPage is .ActiveWindow.ActivePage:

      InD.ActiveWindow.ActivePage.AppliedMaster.PageItems(i%).Override IPage

      but I'm getting an "Invalid object for this request" error.

      Any help is greatly appreciated.