D
Dawn Rhoads
I have several toolbars with macros assigned to them. Two macros, for no
apparent reason I can figure, rearranges the toolbars when I run them. The
macros themsleves don't appear to have anything in them that would affect
toolbar positions. They are both used to convert fill-in form fields to
plain text -- one does the whole document, the other just does whatever is
selected. When either macro runs, it moves two of the custom toolbars from
one location to another. One toolbar has these macro assigned to it, the
other is a custom toolbar with other macros, but not these particular ones.
None of the other macros move toolbars around. The macros appears below, for
what it's worth. Anyone have any ideas what might be causing this?
Macro 1
ActiveDocument.PrintPreview
ActiveDocument.ClosePrintPreview
Selection.WholeStory
Selection.Fields.Unlink
Selection.HomeKey Unit:=wdStory
Macro 2
ActiveDocument.PrintPreview
ActiveDocument.ClosePrintPreview
Selection.Fields.Unlink
Selection.MoveLeft Unit:=wdCharacter, Count:=1
apparent reason I can figure, rearranges the toolbars when I run them. The
macros themsleves don't appear to have anything in them that would affect
toolbar positions. They are both used to convert fill-in form fields to
plain text -- one does the whole document, the other just does whatever is
selected. When either macro runs, it moves two of the custom toolbars from
one location to another. One toolbar has these macro assigned to it, the
other is a custom toolbar with other macros, but not these particular ones.
None of the other macros move toolbars around. The macros appears below, for
what it's worth. Anyone have any ideas what might be causing this?
Macro 1
ActiveDocument.PrintPreview
ActiveDocument.ClosePrintPreview
Selection.WholeStory
Selection.Fields.Unlink
Selection.HomeKey Unit:=wdStory
Macro 2
ActiveDocument.PrintPreview
ActiveDocument.ClosePrintPreview
Selection.Fields.Unlink
Selection.MoveLeft Unit:=wdCharacter, Count:=1