Solved

Word VBA - Win32 API for emulating left mouse clicks

Posted on 2013-06-03
2
512 Views
Last Modified: 2013-06-03
Dear experts,

I am writing a macro which involves an emulated left click on the Word document as a part of the design. Can any expert provide me the API reference or usable code for that the emulated right click action?



Thanks.
0
Comment
Question by:VisualKenneth
2 Comments
 
LVL 15

Accepted Solution

by:
weinberk earned 500 total points
ID: 39216405
Take a look at this thread.  If I understand your question correctly, think this post will give you a way to what you need:
http://www.mrexcel.com/forum/excel-questions/83310-visual-basic-applications-send-right-click-application-2.html

Hope this helps.
0
 

Author Closing Comment

by:VisualKenneth
ID: 39217761
Thank. Problem solved.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the years I have built up my own little library of code snippets that I refer to when programming or writing a script.  Many of these have come from the web or adaptations from snippets I find on the Web.  Periodically I add to them when I come…
Microsoft Word is a program we have all encountered at some point, but very few of us have dug deep into its full scope of features, let alone customized it to suit our needs. Luckily making the ribbon (aka toolbar, first introduced in Word 2007) wo…
This video teaches the viewer how to align pictures around text while keeping the text properly aligned in the document.
This video shows where to find the word count, how to display it, and what it breaks down to in Microsoft Word.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question