macro to enter a character on a mouse click

Would it be hard to write a macro to enter a character into the document every time you clicked the mouse, and a double click would exit?

I have no experience writing macros for Word, but it would be:

EnterOnClick(Char)

DO UNTIL double-click

  On single click: enter Char wherever the cursor now is,

I have to annotate a file in which I have to insert hundreds of identical characters

What character are you adding? Is it replacing another character? Are there specific conditions to the location where it is placed? It's possible this could be accomplished with the Replace feature (perhaps using wildcards).
Microsoft MVP (Word) since 1999
Fairhope, Alabama USA
http://ssbarnhill.com
http://wordfaqs.ssbarnhill.com
Screen shots captured with TechSmith's Snagit

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Hi Suzanne,

I am adding the right bracket "]" without quotes.  It is not replacing anything.  I am parsing text and using the right bracket as a certain delimiter.  The right bracket should be inserted wherever the cursor is when I click.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

I don't think that you would want to program the mouse to do that.  How about using an on-screen keyboard however?
Hope this helps,
Doug Robbins - MVP Office Apps & Services (Word)
dougrobbinsmvp@gmail.com
It's time to replace ‘Diversity, Equity & Inclusion’ with ‘Excellence, Opportunity & Civility’ - V Ramaswamy

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated June 4, 2024 Views 196 Applies to: