I’ve got 100+ documents based on one template and each document looks to that template; however, all of the documents include the macros that are in the template instead of just looking to the template.
I know I can remove the document macros through the organizer window and I tried to record a macro to do so, but the macro looks to the specific document which won’t work for the other docs. Can the following macro be modified to look at “active document” or something similar so it will work for all of docs?
Sub Masters()
‘
‘ Masters Macro’
Application.OrganizerDelete Source:=”C:temp23 84 16.doc”, Name:= _
“MasterSpec”, Object:=wdOrganizerObjectProjectItems
Application.OrganizerDelete Source:=”C:temp23 84 16.doc”, Name:= _
“NewMacros”, Object:=wdOrganizerObjectProjectItems
Selection.EndKey Unit:=wdLine
Selection.TypeText Text:=Chr(11) & Chr(11)
Selection.Delete Unit:=wdCharacter, Count:=1
Selection.Delete Unit:=wdCharacter, Count:=1
Selection.HomeKey Unit:=wdStory
End Sub