You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Philippe Gross edited this page Mar 6, 2015
·
3 revisions
Einrichtung
Word öffnen
Extras->Makro->Makros...
AutoOpen erstellen
Folgendes Makro einfügen
Sub AutoOpen()
'' UpdateDocprops Makro' http://www.gmayor.com/installing_macro.htm''Dim oStory AsRangeFor Each oStory In ActiveDocument.StoryRanges
oStory.Fields.Update
If oStory.StoryType <> wdMainTextStory ThenWhileNot (oStory.NextStoryRange IsNothing)
Set oStory = oStory.NextStoryRange
oStory.Fields.Update
WendEnd IfNext oStory
Set oStory = NothingEnd Sub