Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Word: Call method of UserForm on keypress

Status
Not open for further replies.

aaronvvright

Programmer
Mar 28, 2002
59
CA
So I have a UserForm, and I'd like to call a method (Sub) of it when a key is pressed (for instance a character typed in the document). Ideally, I'd do this in the code of the userform, but I'd imagine I'd have to capture the event in the macro file or something?

ActiveDocument_KeyPress was my guess, but doesn't seem to be working... Heh

Any help would be greatly appreciated,
Aaron Wright

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top