Solved

VBA WORD7 CAPTURING KEYS

Posted on 1998-04-09
3
431 Views
Last Modified: 2012-06-27
Trying to develop a macro in Word7 with VBA to capture all keystrokes, handle the ones I care about and pass the rest to Word.

Think I need to use an API call to do this but do not know which one or calling/return conventions.
0
Comment
Question by:JMOSER
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 1

Expert Comment

by:lbk
ID: 1460868
I got the same question sitting here for weeks... don't expect anything soon.. :)
0
 
LVL 2

Accepted Solution

by:
marti earned 200 total points
ID: 1460869
Well I could try. Your macro could load the form on which OCX will be suited in advence. This OCX will subclass the Word window so that you handle keystrokes you care about and pass the rest to Word.

0
 

Author Comment

by:JMOSER
ID: 1460870
Will try this. Was hoping for an answer using VBA instead although.
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

734 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