Hi there
I am using this macro command in MS Word 2016 to automate find and replace option, but it is not working properly. It is only returning j letter:
Send, ^h^p{Tab} !a{Right}{Enter}{Escape}^j
F5 is my shortcut , ^h is a Word shortcut, ^p is text input.
Thanks
Why this macro not working in MS Word 2016
If I understand correctly, the ^p is literal so ^ it needs to be enclosed in braces.
If still not working, you may need to introduce short pauses between the steps.
Code: Select all
Send, ^h{^}p{Tab} !a{Right}{Enter}{Escape}^j
Code: Select all
Send, ^h
Sleep, 20
;etc
Thank you.Tom wrote: ↑Jun 24th, ’21, 11:27 If I understand correctly, the ^p is literal so ^ it needs to be enclosed in braces.If still not working, you may need to introduce short pauses between the steps.Code: Select all
Send, ^h{^}p{Tab} !a{Right}{Enter}{Escape}^j
Code: Select all
Send, ^h Sleep, 20 ;etc
The last one is working