[word][macros]Getting a macro to click a dialog option

superweiner

Veteran XV
I'm making a macro to fnd and replace text in a word (2007) doc.

I want the macro to automatically click "No" when the "Continue searching the rest of the document?" dialog appears. Any ideas?
 
SuperWeiner.jpg
 
One very inefficient way I've done that is to have the macro search for a certain color at a certain pixel. Search for the different color of the dialog box. I'm pretty sure there's a better way than this though.
 
uhh, ctrl + f, replace

click no.. wtf seriously?

The parents don't know and won't remember to type ^p^b in the find box and space in the replace box...this is part of a much larger formatting macro.

They can click the boxes manually, but I'd just rather have it be a single button click with nothing else to confuse them.
 
running a vbscript would be easier, wouldn't even need to open the file

finish with a msgbox "hey dipshits someone wasted their time making this since you couldn't be bothered to have a modicum of competence! oh and the replace has been completed"

then the script fades into the background with a star wash and lens flare

edit: it should also play a midi file while they're waiting for less than a second
 
Back
Top