A
Alexander Achenbach
Dear all,
I formated a paragraph as a list-item via VBA:
ListGalleries(wdNumberGallery).ListTemplates(1).Name = ""
Selection.Range.ListFormat.ApplyListTemplate
ListTemplate:=ListGalleries( _
wdNumberGallery).ListTemplates(1), ContinuePreviousList:=True,
ApplyTo:= _
wdListApplyToWholeList,
DefaultListBehavior:=wdWord10ListBehavior
This runs in a pseudo-loop for different parts of the document. When I run
it with debug-mode all is fine (even when I just Step over some commands and
then run the rest of the entire program).
But, when the program runs "unattended", Word suddenly hangs (CPU=100%) and
it is not possible to stop it, except via task-manager (no Ctrl-Break).
Any idea?
I formated a paragraph as a list-item via VBA:
ListGalleries(wdNumberGallery).ListTemplates(1).Name = ""
Selection.Range.ListFormat.ApplyListTemplate
ListTemplate:=ListGalleries( _
wdNumberGallery).ListTemplates(1), ContinuePreviousList:=True,
ApplyTo:= _
wdListApplyToWholeList,
DefaultListBehavior:=wdWord10ListBehavior
This runs in a pseudo-loop for different parts of the document. When I run
it with debug-mode all is fine (even when I just Step over some commands and
then run the rest of the entire program).
But, when the program runs "unattended", Word suddenly hangs (CPU=100%) and
it is not possible to stop it, except via task-manager (no Ctrl-Break).
Any idea?