When I run a macro I have to click on the document to activate the document before I can resume typing.
Is there a way to bypass that with a line of code so that after the macro runs I can just resume typing instead of having to click on the document first?
An example of a macro I often run:
Selection.TypeText Text:="11. "
Selection.HomeKey wdLine
Selection.MoveRight wdCharacter, 3, wdExtend
Selection.Font.Size = 11
Selection.Collapse wdCollapseEnd
(The extra required click is a bit of a nuisance.)
Is there a way to bypass that with a line of code so that after the macro runs I can just resume typing instead of having to click on the document first?
An example of a macro I often run:
Selection.TypeText Text:="11. "
Selection.HomeKey wdLine
Selection.MoveRight wdCharacter, 3, wdExtend
Selection.Font.Size = 11
Selection.Collapse wdCollapseEnd
(The extra required click is a bit of a nuisance.)